Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS asynchronous consumption security question  RSS feed

 
shashank beerla
Greenhorn
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 = {

@ActivationConfigProperty(

propertyName = "destinationType",

propertyValue = "javax.jms.Queue"

),
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!