Hi, I have to admit that I am not shure what you are after, but I know this much:
1. An MDB with a pool size set to one, and listening on a queue should receive its messages in the order they where sent.
2. To create a singleton you could use a singleton deployment descriptor for a session bean, to get only one active instance (JBoss specific - look into the manual).
Thanks for your answer.
Actually, my question was only about the different means to create singleton beans. :-)
I think I'd probably write the MDB.
I'm still in trouble creating a MDB which will only spawn one Instance for the queue.
My curent jboss.xml looks like:
<container-configuration extends="Standard Message Driven Bean">
And with this Container Configuration it is possible to deploy the MDB with just one instance.
IMHO it is not the best method to define invoker-proxy-bindings, but I havent found another method.
Do you know how I can handle this?
Thanks a lot,