Issue Details (XML | Word | Printable)

Key: JMS_SPEC-107
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Nigel Deakin
Reporter: Nigel Deakin
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
jms-spec

Extend connection consumer API to support shared durable and non-durable subscriptions

Created: 06/Dec/12 05:28 PM   Updated: 20/Mar/13 02:50 PM   Resolved: 10/Dec/12 04:39 PM
Component/s: None
Affects Version/s: 2.0PD
Fix Version/s: 2.0PD, 2.0

Time Tracking:
Not Specified

Issue Links:
Dependency
 

Tags: pd20-added
Participants: Nigel Deakin


 Description  « Hide

Now that JMS_SPEC-40 has added shared-durable and non-durable subscriptions to JMS, the connection consumer API needs to be extended to support them.

So in addition to the existing methods on Connection:

ConnectionConsumer createConnectionConsumer(
   Destination destination, String messageSelector, ServerSessionPool sessionPool, 
   int maxMessages)

(Queues or unshared non-durable topic subscriptions, clientId optional)

ConnectionConsumer createDurableConnectionConsumer(
   Topic topic, String subscriptionName, String messageSelector, ServerSessionPool sessionPool, 
   int maxMessages)

(Unshared durable topic subscriptions, clientId required)

we also need

ConnectionConsumer createSharedConnectionConsumer(
   Topic topic, String subscriptionName, String messageSelector, ServerSessionPool sessionPool, 
   int maxMessages)

(Shared non-durable topic subscriptions, clientId optional)

ConnectionConsumer createSharedDurableConnectionConsumer(
   Topic topic, String subscriptionName, String messageSelector, ServerSessionPool sessionPool, 
   int maxMessages)

(Shared durable topic subscriptions, clientId optional)



No work has yet been logged on this issue.