Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5841

Allow the JMS RAR to determine the destinationType at runtime

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-5.0.0.CR2
    • None
    • JCA service
    • None

      Currently the JMS RAR requries the destinationType in the activation config properties to be configured,
      see required activation config properties in ra.xml

      This is as per the spec recommendation in JCA 1.5 Appendix B

      Instead, we try to determine the destinationType from the destination.

      Proposed change:
      1) Remove destinationType as a required activation config property from ra.xml
      2) Rework org.jboss.resource.adapter.jms.inflow.JmsActivation::setupDestination()
      to cater for not having destinationType, i.e. lookup the destination in jndi and determine its type
      from the interfaces
      3) Store the resulting type in JmsActivation and use it in setUpConnection() instead of spec.isTopic()
      4) Remove the isTopic() helper from JmsActivationSpec since it is now potentially misleading

              jpederse@redhat.com Jesper Pedersen
              adrian.brock Adrian Brock (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: