I am trying this as well. I can replicate the JNDI fine, but when I try to
deploy an MDB with
<destination-jndi-name>swiftmq/testqueue</destination-jndi-name>
I get:
java.lang.ClassCastException: com.swiftmq.jms.QueueImpl
at org.jboss.mq.SpyConnectionConsumer.(SpyConnectionConsumer.java:91)
at
org.jboss.mq.SpyConnection.createConnectionConsumer(SpyConnection.java:166)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:743)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:767)
at
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
Is it possible to use other Queue implementations as destinations within JBoss?
It seems from this error that the queue would need to extend SpyDestination.
Any help would be appreciated.
Thanks,
Ian
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860609#3860609
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860609
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user