Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS asynchronous consumption security question

shashank beerla
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a queue created in weblogic which is secured for a user. I know the credentials of the user so while consuming the messages from queue asynchronous using the on message method how do I pass these credentials. Currently it is throwing an error. is there any annoations that i need to add. Let me know please. Thanks,

@MessageDriven(activationConfig = {


propertyName = "destinationType",

propertyValue = "javax.jms.Queue"

If you are using a wood chipper, you are doing it wrong. Even on this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!