jms-spec
  1. jms-spec
  2. JMS_SPEC-71

Change XAConnectionFactory to extend ConnectionFactory

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      JMS 1.1, includes the following three interface definitions:

      public interface XATopicConnectionFactory extends XAConnectionFactory, TopicConnectionFactory
      
      public interface XAQueueConnectionFactory extends XAConnectionFactory, QueueConnectionFactory 
      
      public interface XAConnectionFactory 
      

      why does XAConnectionFactory not extend ConnectionFactory? This is inconsistent.

      Please consider changing XAConnectionFactory to extend ConnectionFactory.

        Issue Links

          Activity

          Nigel Deakin created issue -
          Nigel Deakin made changes -
          Field Original Value New Value
          Description JMS 1.1, includes the following three interface definitions:

          {noformat}
          public interface XATopicConnectionFactory extends XAConnectionFactory, TopicConnectionFactory

          public interface XAQueueConnectionFactory extends XAConnectionFactory, QueueConnectionFactory

          public interface XAConnectionFactory
          {noformat}

          why does {{XAConnectionFactory}} not extend {[ConnectionFactory}}? This is inconsistent.

          Please consider changing {{XAConnectionFactory}} to extend {{ConnectionFactory}}.

          JMS 1.1, includes the following three interface definitions:

          {noformat}
          public interface XATopicConnectionFactory extends XAConnectionFactory, TopicConnectionFactory

          public interface XAQueueConnectionFactory extends XAConnectionFactory, QueueConnectionFactory

          public interface XAConnectionFactory
          {noformat}

          why does {{XAConnectionFactory}} not extend {{ConnectionFactory}}? This is inconsistent.

          Please consider changing {{XAConnectionFactory}} to extend {{ConnectionFactory}}.
          Nigel Deakin made changes -
          Tags pd20-forreview
          Hide
          Nigel Deakin added a comment -

          We would need to consider whether changing an object's superclass is a permitted change in conformance with the Backwards Compatibility Requirements for Java EE Specifications . This interface is not intended for use by normal applications so there may be more scope to change it.

          This will be evaluated by the expert group for possible inclusion in the JMS 2.0 public draft. Tagging accordingly.

          Show
          Nigel Deakin added a comment - We would need to consider whether changing an object's superclass is a permitted change in conformance with the Backwards Compatibility Requirements for Java EE Specifications . This interface is not intended for use by normal applications so there may be more scope to change it. This will be evaluated by the expert group for possible inclusion in the JMS 2.0 public draft. Tagging accordingly.
          Nigel Deakin made changes -
          Tags pd20-forreview pd20-forreview pd20-forreview-minor
          Nigel Deakin made changes -
          Tags pd20-forreview pd20-forreview-minor pd20-forreview-minor
          David Zhao made changes -
          Link This issue blocks GENERICJMSRA-55 [ GENERICJMSRA-55 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Nigel Deakin
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: