Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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