This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMS how to protect queue with user/password

Mark Moge
Ranch Hand
Posts: 100
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic