This content has been marked as final.
Show 4 replies
-
1. Re: how to register a MBean using a Queue
lapoutre Jan 19, 2006 11:17 AM (in response to lapoutre)re,
I tried the following dependencies each alone, and all together<depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends> <depends>jboss.mq:alias=UIL2ConnectionFactory,service=InvocationLayer,type=UIL2</depends> <depends>jboss.mq:service=InvocationLayer,type=JVM</depends>
but it doesn't work -
2. Re: how to register a MBean using a Queue
wzzzrd Feb 3, 2006 9:46 AM (in response to lapoutre)it may be a bit late... the only service your mbean should depend on is the queue you are connecting to (queues are also defined as mbeans), this should do.
regards,
martin -
3. Re: how to register a MBean using a Queue
mawione Feb 7, 2006 6:14 PM (in response to lapoutre)Did you find a solution to your problem?
I'm having same problem.
Thanks!
Magnus -
4. Re: how to register a MBean using a Queue
lapoutre Feb 8, 2006 4:00 AM (in response to lapoutre)in fact I'm coding it a second time.
The thing, like wzzzrd said, is that You have to be independent of elements, as much as you can.
The MBean is loaded but may be not connected at the JMS queue.
In order to perfom that, I'm coding a retrying system.
This system is usefull when you start jboss with your service.
If it's hot plugged, the queue is already available and the MBean can connect it without any problem.