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

          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.

            People

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

              Dates

              • Created:
                Updated: