aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 96

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
 
Similar Threads
JMS Consumer ends even after implementing MessageListener interface.
annotations for JNDI lookup
activemq queue problem
JMS Consumer not receiving any messages.
JMS client on WAS V6.1