Commit Graph

767 Commits

Author SHA1 Message Date
Hiram R. Chirino 7113c5efd8 Fix for
http://issues.apache.org/activemq/browse/AMQ-665


git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418618 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 16:49:07 +00:00
Hiram R. Chirino be742f2339 Receipt action was not being populated.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418617 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 16:48:34 +00:00
Hiram R. Chirino 530884a2d9 Better protocol error handling.
Fixed http://issues.apache.org/activemq/browse/AMQ-649



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418602 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 15:00:13 +00:00
Hiram R. Chirino 1ac3421e36 Fixing http://issues.apache.org/activemq/browse/AMQ-724, async exception could close a connection while a new consumer is being added which resulted in the consumer not being removed from the
broker when the connction was shut down.

Danielius Jurna, thanks for the great bug report and problem determination!



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418592 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 13:43:19 +00:00
Hiram R. Chirino dc98d967b5 Added a new/highly refactored version of the STOMP protocol implementation.
The biggest difference between this and previous implementation is that conversion between the STOMP protocol and 
the ActiveMQ protocol happens at a Transport Filter layer instead of doing it all at the WireFormat layer.

I think this has resulted in cleaner code since there's a better seperating between marshalling/unmarshalling of 
the STOMP protocol and converting the stomp protocol to the activemq protocol.



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418550 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 04:18:44 +00:00
Hiram R. Chirino 6d550302a2 Enabled working test
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418549 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 04:10:36 +00:00
Hiram R. Chirino b4b8499be5 Cleaned up TCP transport a little.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418548 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 04:08:53 +00:00
Hiram R. Chirino e423bc58a0 http://issues.apache.org/activemq/browse/AMQ-789
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418497 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:03:00 +00:00
Hiram R. Chirino 3a4f3d5bd9 Fixed ItStillMarshallsTheSameTest
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418496 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 18:37:22 +00:00
Hiram R. Chirino 7f0e13571f http://issues.apache.org/activemq/browse/AMQ-406
You can now configure the prefetchPolicy and redeliveryPolicy using the jndi properties.
You can also do it using the Broker URL



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418495 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 18:08:24 +00:00
Hiram R. Chirino 9befb11435 http://issues.apache.org/activemq/browse/AMQ-788
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418486 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 16:03:18 +00:00
Hiram R. Chirino 6f9cfad67b Changed tests so that the data files are under the target directory
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418437 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 04:22:58 +00:00
Hiram R. Chirino 4404311534 Make this guy succeed on linux
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418436 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 04:21:40 +00:00
Hiram R. Chirino 5401cf8365 added some debug to see when consumers are added and removed.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418435 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 04:20:53 +00:00
Hiram R. Chirino 47abda2a7d Trying to get this to pass more reliably on linux
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418424 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 00:32:26 +00:00
Hiram R. Chirino 0da70121d4 Put data file under target directory
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418422 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 00:06:58 +00:00
Hiram R. Chirino a537902613 http://issues.apache.org/activemq/browse/AMQ-787
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418413 13f79535-47bb-0310-9956-ffa450edef68
2006-06-30 23:06:54 +00:00
Hiram R. Chirino 686db796b9 If sessionAsyncDispatch==false we do not need to create a session thread.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418285 13f79535-47bb-0310-9956-ffa450edef68
2006-06-30 13:48:30 +00:00
Hiram R. Chirino a53b2e80c6 Allow the connector to override if async dispatch is allowed.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418164 13f79535-47bb-0310-9956-ffa450edef68
2006-06-30 02:20:08 +00:00
Hiram R. Chirino 24d8986cee Allow the connector to override if async dispatch is allowed.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418162 13f79535-47bb-0310-9956-ffa450edef68
2006-06-30 01:43:12 +00:00
Hiram R. Chirino 9c135637f9 Eliminated an unneed Thread.currentThread().interrupt();
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418156 13f79535-47bb-0310-9956-ffa450edef68
2006-06-30 00:13:25 +00:00
Hiram R. Chirino f5ffb39243 http://issues.apache.org/activemq/browse/AMQ-781
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418123 13f79535-47bb-0310-9956-ffa450edef68
2006-06-29 19:51:13 +00:00
Hiram R. Chirino 35fb3d1c84 http://issues.apache.org/activemq/browse/AMQ-780
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418119 13f79535-47bb-0310-9956-ffa450edef68
2006-06-29 19:20:12 +00:00
James Strachan 2026e6e831 added extra test case from userlist
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418022 13f79535-47bb-0310-9956-ffa450edef68
2006-06-29 12:14:28 +00:00
Robert Davies e8952f6b37 support networkTTL as an option
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@417734 13f79535-47bb-0310-9956-ffa450edef68
2006-06-28 11:40:04 +00:00
Adrian T. Co 0f59ecc433 - Added null checking during property set to prevent NPE
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@416549 13f79535-47bb-0310-9956-ffa450edef68
2006-06-23 03:06:28 +00:00
James Strachan ca067a6bbb added support for arbitrarily nested Map or List properties on Message together with nesting on MapMessage to fix AMQ-757. For more information see: http://activemq.org/site/structured-message-properties-and-mapmessages.html
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@415642 13f79535-47bb-0310-9956-ffa450edef68
2006-06-20 13:58:34 +00:00
James Strachan b695b490b2 fix for AMQ-663 to add more attributes to the subscription MBean
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@415641 13f79535-47bb-0310-9956-ffa450edef68
2006-06-20 13:51:57 +00:00
Hiram R. Chirino 65e40d03da The ItStillMarshallsTheSameTest looks like it's passing
Also did some work to get the http://jira.activemq.org/jira/browse/AMQ-522 to pass.



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@415356 13f79535-47bb-0310-9956-ffa450edef68
2006-06-19 16:03:50 +00:00
James Strachan 0f1dccee37 applied patch from Jason Sherman for AMQ-753 to expose the remote connection address in JMX - many thanks!
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@415306 13f79535-47bb-0310-9956-ffa450edef68
2006-06-19 12:32:59 +00:00
James Strachan 4c4f86a0d8 applied patch from Christopher G. Stach II for AMQ-747 to allow redelivery backoff to add a collision avoidence capability. Many thanks!
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@415300 13f79535-47bb-0310-9956-ffa450edef68
2006-06-19 11:55:44 +00:00
James Strachan 87dcdce239 added better javadoc
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@415293 13f79535-47bb-0310-9956-ffa450edef68
2006-06-19 11:12:20 +00:00
Hiram R. Chirino b3748b4fd8 http://issues.apache.org/activemq/browse/AMQ-759
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@415036 13f79535-47bb-0310-9956-ffa450edef68
2006-06-17 17:40:40 +00:00
James Strachan 319033f712 added patch to handle timeout exceptions gracefully
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@414823 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 13:31:53 +00:00
James Strachan 60ba9da302 tidied up the example JNDI
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@414808 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 12:01:39 +00:00
Hiram R. Chirino 944f9d60d7 http://issues.apache.org/activemq/browse/AMQ-754
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@414652 13f79535-47bb-0310-9956-ffa450edef68
2006-06-15 18:42:52 +00:00
Hiram R. Chirino dee685f73c http://issues.apache.org/activemq/browse/AMQ-725
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@414610 13f79535-47bb-0310-9956-ffa450edef68
2006-06-15 15:04:31 +00:00
Hiram R. Chirino 75270affd8 http://issues.apache.org/activemq/browse/AMQ-749
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@414595 13f79535-47bb-0310-9956-ffa450edef68
2006-06-15 14:34:08 +00:00
Hiram R. Chirino c2a51115cd Applied http://issues.apache.org/activemq/browse/AMQ-608 thanks Kevin.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@414443 13f79535-47bb-0310-9956-ffa450edef68
2006-06-15 03:04:15 +00:00
James Strachan 18aa6dd34a changed snippet macro
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@414154 13f79535-47bb-0310-9956-ffa450edef68
2006-06-14 08:56:50 +00:00
James Strachan 8ce74fa439 removed Java 5 dependency - naughty Nathan :)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@413838 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 08:49:13 +00:00
Nathan Christopher Mittler 021a2afd88 Implementing AMQ-748 - adding optional request-id header in connect message and corresponding response-id in the connected message. Updating StompTest to verify.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@413770 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 00:03:00 +00:00
Nathan Christopher Mittler e9e8fd147d Fixing AMQ-664 - making broker assign JMSTimestamp to all incoming stomp messages. Updating unit tests to verify timestamp is received properly via JMS.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@413769 13f79535-47bb-0310-9956-ffa450edef68
2006-06-12 23:50:16 +00:00
Hiram R. Chirino e264e6f9d1 http://issues.apache.org/activemq/browse/AMQ-682
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@413733 13f79535-47bb-0310-9956-ffa450edef68
2006-06-12 19:42:33 +00:00
Hiram R. Chirino 7dafbb582f http://issues.apache.org/activemq/browse/AMQ-734
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@413679 13f79535-47bb-0310-9956-ffa450edef68
2006-06-12 15:17:30 +00:00
Hiram R. Chirino c1a0cd6875 http://issues.apache.org/activemq/browse/AMQ-714
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@413674 13f79535-47bb-0310-9956-ffa450edef68
2006-06-12 15:08:33 +00:00
James Strachan fcc9ae70b1 disabled another multicast test to get the m2 gbuild working
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@413648 13f79535-47bb-0310-9956-ffa450edef68
2006-06-12 13:09:58 +00:00
James Strachan 2c8b312bda excluded failing test for AMQ-724
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@413014 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 11:03:01 +00:00
James Strachan cf1fc15ad5 fixed m2 build on java1.4
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412970 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 08:01:08 +00:00
Robert Davies 7a386be938 set default for optimize acknowledge to false
For performance - recommend use DUPS_OK acknowledge - at least its clear what your going to get -
and it performs better too

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412964 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 07:38:25 +00:00