I think that ClassCastException happens when the JBossMQ code pulls your IBM MQ
class from JNDI. You're still using the JBoss MDB JMS Provider.
I was in the same boat trying to use Sun's IMQ server. This is how I got it
working:
| package elm.mdb;
|
| import javax.ejb.ActivationConfig
When you add the "@ResourceAdapter("foo.rar")" annotation to the MDB, are the
JNDI bindings you created in the *-ds.xml file being used?
I'm trying to use Sun's MQ server (IMQ) in JBoss and I found that I could
deploy the RAR from Sun IMQ and use the following annotations (without using a
*-ds.
I'm getting closer to answering my own question. Section 6.2 of the JBoss AS
docs explain how to reference objects from your RAR files and bind them into
JNDI. I was able to expose my javax.jms.ConnectionFactory with a ds.xml file:
|
|
| MyConnectionFactory
| imq
I'm trying to be good and RTFM, but could someone show me the way to some help?
I want to use Sun's Message Queue product as my JMS provider. They provide an
"imqjmsra.rar" file, which deploys to JBoss without error - and I can see that
a new connection is made to my JMS server when I deploy th