[jboss-jira] [JBoss JIRA] Closed: (JBMESSAGING-566) Decide on validity of DurableSubscriberTest.testDurableSubscriptionDifferentNoLocal()
Tim Fox (JIRA)
jira-events at lists.jboss.org
Wed Jul 4 05:58:02 EDT 2007
[ http://jira.jboss.com/jira/browse/JBMESSAGING-566?page=all ]
Tim Fox closed JBMESSAGING-566.
-------------------------------
Resolution: Done
Assignee: Tim Fox
I am removing this test for the following reason:
Although the JMS spec says 1.1, 6.11.1
"A client can change an existing durable subscription by creating a durable
TopicSubscriber with the same name and a new topic and/or message selector,
or NoLocal attribute. Changing a durable subscription is equivalent to deleting
and recreating it."
NoLocal is defined as 1.1, 6.11
"In some cases, a connection may both publish and subscribe to a topic. The
subscriber NoLocal attribute allows a subscriber to inhibit the delivery of
messages published by its own connection."
If a durable exists, but has no active subscriber, then it has no concept of its "own connection" - this is meaningless unless it has a consumer.
Therefore storing the noLocal attribute on the durable subscription makes little sense since it wouldn't be able to be used for anything useful.
> Decide on validity of DurableSubscriberTest.testDurableSubscriptionDifferentNoLocal()
> -------------------------------------------------------------------------------------
>
> Key: JBMESSAGING-566
> URL: http://jira.jboss.com/jira/browse/JBMESSAGING-566
> Project: JBoss Messaging
> Issue Type: Task
> Components: Tests and Performance
> Reporter: Ovidiu Feodorov
> Assigned To: Tim Fox
> Priority: Minor
> Fix For: 1.4.0.CR1
>
> Original Estimate: 6 hours
> Remaining Estimate: 6 hours
>
> DurableSubscriberTest.testDurableSubscriptionDifferentNoLocal() is temporarily commented out until its validity is established. Re-enable the test or delete it, depending on the conclusion.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list