This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes JMS how to protect queue with user/password Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS how to protect queue with user/password" Watch "JMS how to protect queue with user/password" New topic
Author

JMS how to protect queue with user/password

Mark Moge
Ranch Hand

Joined: Mar 14, 2009
Posts: 100

How can I protect JMS queue with user/pass? I have two classes: Producer and Receiver. I am trying to set user/pass values in Producer class which will be required for Receiver to get messages. Using below code Receiver can connect to the queue and get messages without passing any user/pass values.




SCJP6 | http://programmerutilities.blogspot.com/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS how to protect queue with user/password