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.
It was the best of times. It was the worst of times. It was a tiny ad.