Commit Graph

801 Commits

Author SHA1 Message Date
Hiram R. Chirino ad2546fa8d Fixed Network Connection failure recovery.
http://issues.apache.org/activemq/browse/AMQ-802
http://issues.apache.org/activemq/browse/AMQ-805



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@420723 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 04:46:04 +00:00
Hiram R. Chirino 75fde7165e http://issues.apache.org/activemq/browse/AMQ-810
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@420721 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 04:41:48 +00:00
Hiram R. Chirino 1250a6d023 Added reconnect logic.
http://issues.apache.org/activemq/browse/AMQ-803

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@420718 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 04:38:18 +00:00
Hiram R. Chirino d6c75ee25e No need to be so verbose when disposing a service. If we need to find out why something is going wrong we can enable debug logging.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@420716 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 04:34:56 +00:00
Hiram R. Chirino 40958b688f Impoved error logging and throw an exception if the transport is being used when it has been disconnected.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@420714 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 04:32:20 +00:00
Hiram R. Chirino 87666fa194 http://issues.apache.org/activemq/browse/AMQ-809
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@420712 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 04:29:31 +00:00
Hiram R. Chirino cf5ee40d63 http://issues.apache.org/activemq/browse/AMQ-808
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@420708 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 04:21:40 +00:00
Hiram R. Chirino 2fe01ce355 Make the tests more reliable by explicity creating and shutting down the brokers. Also wait for the brokers to be setup before running the tests
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@420699 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 03:59:54 +00:00
James Strachan 9b07e4323a added a helper method to make it easier to browse messages as JMS Message objects. See: http://www.nabble.com/ActiveMQ-JMX-Questions..-tf1917262.html#a5248649
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@420527 13f79535-47bb-0310-9956-ffa450edef68
2006-07-10 14:03:24 +00:00
Frederick G. Oconer b662f6065c Removed relativepath element in parent declaration.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@420267 13f79535-47bb-0310-9956-ffa450edef68
2006-07-09 09:11:22 +00:00
James Strachan 6df6d58efe Added support for AMQ-798 to enable a new boolean header called JMSXGroupFirstForConsumer
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@419930 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 17:25:03 +00:00
James Strachan 8cff452960 moved the tests across from the assembly module that can be run inside the activemq-core module
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@419844 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 08:57:34 +00:00
James Strachan a677c21240 moved the tests across from the assembly module that can be run inside the activemq-core module
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@419843 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 08:57:09 +00:00
James Strachan c06ad31692 moved the tests across from the assembly module that can be run inside the activemq-core module
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@419842 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 08:55:31 +00:00
James Strachan c9ab0d01d1 moved the tests across from the assembly module that can be run inside the activemq-core module
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@419841 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 08:52:00 +00:00
Hiram R. Chirino 16d403f535 http://issues.apache.org/activemq/browse/AMQ-799
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@419753 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 00:52:53 +00:00
James Strachan 06a5829c14 added a helper method so a BrokerFilter can lookup all the active destinations for a specific wildcard which can be useful for implementing things like AMQ-452 to support virtual destinations
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@419629 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 17:50:56 +00:00
Hiram R. Chirino a88906f0e4 set the eol to native
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@419366 13f79535-47bb-0310-9956-ffa450edef68
2006-07-05 22:30:19 +00:00
Hiram R. Chirino 65162d0133 Set the eol type to native.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@419365 13f79535-47bb-0310-9956-ffa450edef68
2006-07-05 22:27:34 +00:00
Hiram R. Chirino a4b13add62 Configure our use of the gram maven plugin so that it generates the openwire marshaller source code.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@419357 13f79535-47bb-0310-9956-ffa450edef68
2006-07-05 22:06:35 +00:00
Hiram R. Chirino 104305bac0 Fix 1.5 dependency
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@419238 13f79535-47bb-0310-9956-ffa450edef68
2006-07-05 14:34:37 +00:00
Hiram R. Chirino 8b215705a2 Don't depend on java 1.5
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@419156 13f79535-47bb-0310-9956-ffa450edef68
2006-07-05 03:55:20 +00:00
James Strachan 4383d00d81 added an example and test case of configuring the JMS to JMS bridge using the XBean format rather than the pure Spring version thats currently on the wiki - see http://incubator.apache.org/activemq/jms-to-jms-bridge.html
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@419058 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 18:04:50 +00:00
James Strachan 466ccddc1f made it possible to disable advisory message support for AMQ-794
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@419049 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 17:15:00 +00:00
Hiram R. Chirino 98b61e439e Moved the stomp2 package to stomp.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@419014 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 14:17:48 +00:00
Hiram R. Chirino 1f6aa57df6 Removing old stomp implementation since the new one seems to be working better and has been verified to have fixed some bugs.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@419012 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 14:14:12 +00:00
James Strachan 9324b597ac attempted patch to issue brought up on the user list: http://www.nabble.com/AMQ-4.0-with-Oracle-Persistence-and-XA-Transactions-tf1888956.html#a5165822
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418993 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 12:13:25 +00:00
James Strachan 0c2c5c6a19 spring cleaning; catch bad ackMode configurations and throw an exception
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418987 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 11:54:24 +00:00
James Strachan 4b08ea5c04 updated the javadoc of the connection & factory classes to match the documentation on the wiki http://incubator.apache.org/activemq/connection-configuration-uri.html
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418970 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 10:28:25 +00:00
James Strachan db39e50583 updated test case to not use the default value of dispatchAsync from previous commit
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418967 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 09:57:15 +00:00
James Strachan 480433bd74 fix for AMQ-792 to allow the async dispatch of messages to consumers to be easily configured & properly documented the javadoc. For more detail see http://activemq.org/site/consumer-dispatch-async.html
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418966 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 09:54:38 +00:00
Robert Davies c250fa5f6c fix for http://issues.apache.org/activemq/browse/AMQ-792
enable setting async dispatch for consumers

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418824 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 18:46:09 +00:00
Hiram R. Chirino 10fe0ff7fa Making build more m2 friendly.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418798 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 16:25:45 +00:00
James Strachan b9d3032246 removed dependency on XBeanBrokerService so that a regular Spring XML file can be used that just instantiates BrokerService directly to fix AMQ-790
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@418790 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 15:23:32 +00:00
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