jms-spec
  1. jms-spec
  2. JMS_SPEC-111

add MessageConsumer.getDestination() and JMSConsumer.getDestination() methods

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      TopicSubscriber.getTopic() and QueueReceiver.getQueue() exist, so I think also MessageConsumer.getDestination() should be there.

      That way an unnecessary type cast could be avoided and the provider's implementation is trivial.

        Activity

        Hide
        Nigel Deakin added a comment - - edited

        If we add MessageConsumer.getDestination() we should also add JMSConsumer.getDestination(). Amending the description to reflect this.

        Show
        Nigel Deakin added a comment - - edited If we add MessageConsumer.getDestination() we should also add JMSConsumer.getDestination() . Amending the description to reflect this.

          People

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

            Dates

            • Created:
              Updated: