-
1. Re: Can I use SwiftMQ and JBOSS separately ?
adrian.brock Jan 13, 2004 10:53 AM (in response to rubens)Does this still work? (I haven't tried it myself)
You need to change the DefaultJMSProvider to use swift's connection factory
and change jboss.xml to use swift's destination jndi names.
Regards,
Adrian -
2. Re: Can I use SwiftMQ and JBOSS separately ?
nusa Jan 14, 2004 5:18 PM (in response to rubens)Hi,
The following url may help you :
http://www.swiftmq.com/developers/howto_jndi_jboss/index.html
http://www.swiftmq.com/developers/howto_jmsintravm_jboss/index.html
Regards,
nusa. -
3. Re: Can I use SwiftMQ and JBOSS separately ?
igilchrest Jan 4, 2005 12:47 PM (in response to rubens)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