Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-18192

[GSS](7.3.z) Generic RA does not support JMS 1.1 in EAP 7.x

XMLWordPrintable

      When a message broker such as SonicMQ (which does not support JMS 2.0) is used with the generic-jms-ra , it doesn't work and the following exception is thrown:

      Caused by: java.lang.AbstractMethodError: progress.message.jclient.QueueConnectionFactory.createContext(Ljava/lang/String;Ljava/lang/String;)Ljavax/jms/JMSContext;
              at org.jboss.resource.adapter.jms.JmsManagedConnection.createConnection(JmsManagedConnection.java:774)
              at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:666)
              at org.jboss.resource.adapter.jms.JmsManagedConnection.<init>(JmsManagedConnection.java:189)
      
      

      It seems that JMS 2.0's createContext() is called while creating a new connection which results in the aforementioned exception.

      https://github.com/jms-ra/generic-jms-ra/blob/master/generic-jms-ra-jar/src/main/java/org/jboss/resource/adapter/jms/JmsManagedConnection.java#L774

              ehugonne1@redhat.com Emmanuel Hugonnet
              rhn-support-adongre Avinash Dongre
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: