Issue Details (XML | Word | Printable)

Key: AMQ-1176
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Hiram Chirino
Reporter: Hiram Chirino
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ActiveMQ

Using temporary destination across a nework of broker not reliable.

Created: 26/Feb/07 10:30 AM   Updated: 21/Apr/09 03:49 AM
Return to search
Component/s: None
Affects Version/s: 4.1.0
Fix Version/s: 4.1.1, 5.0.0

Time Tracking:
Not Specified

Issue Links:
Related
 


 Description  « Hide
Using temporary destinations across a network of broker can lead to some message not getting delivered due to the way that a temporary destination must first exist on a broker before it accepts a message for it. Due to the timing of some network events, the message may get sent to the destination slightly ahead of the event that creates the temporary destination.

 All   Comments   Work Log   Change History   Subversion Commits   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
Hiram Chirino added a comment - 26/Feb/07 10:32 AM
This timing issue also extends out to the JMS clients that will get a JMS exception stating that the destination does not exist yet due to the create event not having been received yet.

Hiram Chirino added a comment - 26/Feb/07 10:34 AM
Fixed in http://svn.apache.org/viewvc?view=rev&revision=511082 in the 4.1 branch.

You can avoid getting the 'destination does not exist yet exception' by disabling watchTopicAdvisories feature on the ActiveMQConnectionFactory.


Repository Revision Date User Message
AMQ #514754 Mon Mar 05 10:04:44 PST 2007 jlim ported fix to trunk :
http://issues.apache.org/activemq/browse/AMQ-1176
Files Changed
MODIFY /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/DemandForwardingBridgeSupport.java
MODIFY /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQSession.java
MODIFY /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/TempQueueRegion.java
MODIFY /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/TempTopicRegion.java
MODIFY /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/BrokerTest.java
MODIFY /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnection.java
MODIFY /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java
MODIFY /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java
MODIFY /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/RegionBroker.java

Jonas Lim added a comment - 05/Mar/07 10:05 AM
ported fix to trunk : r514754

Jonas Lim made changes - 05/Mar/07 10:05 AM
Field Original Value New Value
Fix Version/s 4.2.0 [ 11712 ]
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Jörg Henne made changes - 21/Apr/09 03:49 AM
Link This issue is related to AMQ-2214 [ AMQ-2214 ]
Jörg Henne added a comment - 21/Apr/09 03:49 AM
AMQ-2214 might be a regression of AMQ-1176.

Create crucible review for this changeset in