posted 11 years ago
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.