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

Issue with Max Session 1 in Mdb (jboss 6.1.0)  RSS feed

a gopinath
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a requirement to read messages from a queue one by one using MDB(eg:mdb name as MessageReceivers) and I have configured mdb using the activation configuration property with maxSession as 1 in jboss6.1.0

eg : @ActivationConfigProperty(propertyName = "maxSession", propertyValue = "1").

But in the same jboss deploy folder there are other mdb's which are running with default maxSession.
whenever messages are picked by MessageRecivers mdb it is always creating new instance.
In the Jboss deploy folder it has different aop files which is corresponding to each mdb.

could you please let me know is there any way to run mdb's unqiuely with different sessions in the same jboss.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!