Commit Graph

724 Commits

Author SHA1 Message Date
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 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 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