Remote Client can send Messages into Removed Queue
Issue
- Application deployed on EAP consumes from a local JMS queue, while several remote clients are sending messages.
- This application is one of multiple deployed on that server.
- This application get migrated (to another server), while others are still on that server.
- As this queue is no longer needed on that server (but on another one) the queue get removed using CLI command.
- All clients get reconfigured to use the new server.
- Risk: At least one client was missed to get reconfigured and is still pointing to the old server.
- Even after removing the queue a remote client can still send messages without any problems.
Environment
- JBoss Enterprise Application Platform [EAP] 6
- HornetQ as JMS/messaging provider
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
