Here is the description, which I think is self-explanatory (I
originally raised this as part of JMS_SPEC-47, but I am
now separating it out to a separate trackable issue).
There were no objections when I first suggested this, but if
anyone has any comments please make them now.
----------------------
In JMS 1.1 the method Session.createDurableSubscriber() returns
a TopicSubscriber, not a MessageConsumer.
This is the only "domain-independent" method in the whole JMS
1.1 API which depends on a "domain-specific" interface.
This dependency prevents the "domain-specific" interfaces being
removed from JMS as proposed in JMS_SPEC-47
It is therefore proposed to modify this method to return a
MessageConsumer. Since this is a supertype of TopicSubscriber
it should not break existing applications.
----------------------