By default, ACLs are checked only at the time of performing an action, such as creating a publisher/subscriber on a topic. If an ACL is modified, clients connected to it are not affected. To get connected clients to check ACL when modified, perform the following steps:
- Open the profile for off-line editing through the Profile Manager using Studio, as explained in section 4.8.1 How to Enable Pinging
- Go to Fiorano > etc > FMQConfigLoader.
- Enable the AllowOnTheFlyAclCheck property.
4. Right-click the FioranoMQ node and select Save option from the pop-up menu.
Work Around 1:
For NP messages, batching is enabled by default which leads to the behavior explained above. To view this Exception at the 'send' API location, set the BatchingEnabled parameter in the ConnectionFactory to 'FALSE'.
Work Around 2:
Add the following line to the client code environment while performing the lookup function:
Here, env is the environment passed while performing a JNDI lookup. This will disable batching for that particular client.