Ok, may I should ask me question in a different way. I would
like to have an MBean act as a Topic/Queue listener. I attempted
placing the behavior for Queue receiver initialization inside the
start() method of the MBean. However, when I do this I receive
a javax.NamingException when doing a lookup on the
ConnectionFactory. Is there something I need to do in any of the
many JB configuration files that would allow me to accomplish
my objective. JB 3.2RC1
Thanks again in advance.
You need to add a dependency so that
your mbean starts after the connection factory.
Look at the MBean name for the connection
factory you want to use.
e.g.
jboss.mq:service=InvocationLayer,type=OIL
Regards,
Adrian