Commit Graph

3141 Commits

Author SHA1 Message Date
James Strachan 696b34a01d use the same ConnectionFactory so that transactional consume + send can use the same session
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@574465 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 05:47:30 +00:00
James Strachan 5829d7045c added better debug logging
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@574460 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 05:20:20 +00:00
Hiram R. Chirino 8e33f646c6 Make activemq-web compile.. needed an explict dependency on spring-webmvc
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@574368 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 20:44:44 +00:00
Hiram R. Chirino 84da202a7a Update to the latest version of xbean
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@574327 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 18:41:32 +00:00
Hiram R. Chirino cfe8b632b1 Updated to latest version of openjpa
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@574325 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 18:38:39 +00:00
Hiram R. Chirino a69c3e78c5 Switch to using a Timer to schedual tasks. Seems to have much more acurate time delays between executions.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@574321 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 18:27:40 +00:00
Hiram R. Chirino 5f96839259 Moved the camel-activemq module into the activemq-core module to break the circular dependency between the activemq and camel projects.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@573615 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 15:44:45 +00:00
Hiram R. Chirino b732d3d114 Fix for the QueueWorkerPrefetchTest. The VMPendingMessageCursor.isEmpty() was returning true when it had an a message that had been marked dropped due to it being delivered by another subscription.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@573400 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 22:19:25 +00:00
Hiram R. Chirino 222daf2323 Fix for https://issues.apache.org/activemq/browse/AMQ-1382... if the broker.persistent==false then we should not create any files, not even for the Temp Store.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@573397 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 22:14:34 +00:00
Hiram R. Chirino b81dd2886e Fixed ContainerId so that it also uses the container name when it compares equality. Switch back to using a single index file
for the topic susbcriptions lists.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@573395 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 22:11:43 +00:00
Hiram R. Chirino 838e9a42b4 if the container name has '/' in it then make sure we create the parent directories before we try to access the file.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@573392 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 22:05:43 +00:00
Hiram R. Chirino 1301501a0a Fixed synchronizations so that threads don't block each others processing as much and now the test works fine without hanging. see https://issues.apache.org/activemq/browse/AMQ-1251
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@573342 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 19:25:46 +00:00
Hiram R. Chirino 642d38cd8c Fix for https://issues.apache.org/activemq/browse/AMQ-1156
We now actually update the tcpNoDelay setting on the socket once the wireformat options are negociated.  This allows
the client to control if his socket and the server's socket use the option.  By default tcpNoDelay is enabled.
the client should use a URL like -Durl=tcp://localhost:61616?wireFormat.tcpNoDelayEnabled=false to disable tcpNoDelay on both the client and the server socket.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@573080 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 21:51:40 +00:00
Hiram R. Chirino 9e61ade946 Fixing compile issue cause by camel API change
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@573005 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 17:18:54 +00:00
Robert Davies 65454017fc Ensure system safe names are used for container names
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@572975 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 15:47:20 +00:00
Robert Davies 0d0dd4587d use potentially shorter container name for the topic subscriber references
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@572974 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 15:41:19 +00:00
Robert Davies ec2cfc5fd0 shorten the name of the container containing the SubscriberMessageList
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@572905 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 09:06:32 +00:00
Alan Cabrera c6301c37a8 ActiveIO removed its incubator label
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@572523 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 04:57:10 +00:00
Robert Davies 1195ae751c ensure the ConectionContext always has a broker set before sending message to DLQ
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@572300 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 12:50:17 +00:00
Hiram R. Chirino 0a52fe7289 Satitized the filenames that the KahaStore uses.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@571306 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 20:49:41 +00:00
Robert Davies eba0ae3c7b test case for https://issues.apache.org/activemq/browse/AMQ-1251
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@571150 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 12:54:06 +00:00
Robert Davies 3cd1e6c73f ensure exception is logged if one is raised sending a message to a dead letter queue
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@569270 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 06:29:18 +00:00
James Strachan 5a5056e73b moved the web helper classes to activemq-web so that they are reusable in other web apps easily
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@569067 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 16:42:34 +00:00
Jonas B. Lim d97054b1c2 fix for https://issues.apache.org/activemq/browse/AMQ-1365
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@568869 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 07:48:37 +00:00
James Strachan fba074227d allow a MessageListener to be specified when creating a consumer; to avoid threading issues when creating lots of consumers after the connection has started
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@568644 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 15:09:44 +00:00
James Strachan fe6fa04798 moved activeio into the optional section
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@568642 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 15:08:53 +00:00
Hiram R. Chirino 2b0024c269 Made the SystemUsage and associated *Usage classes IOC friendly so that they can be configured
via xbean/spring.  Fixed the ConfigTest test case.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@567796 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 19:30:33 +00:00
Robert Davies 6d8e2c5b3a UpdateManager changed to account for Store and Temp data usage as well as memory usage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@567647 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 10:37:29 +00:00
Robert Davies 625cd7cdb6 UpdateManager changed to account for Store and Temp data usage as well as memory usage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@567646 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 10:34:59 +00:00
Adrian T. Co 85fc6dd267 Commented out the threshold for the stdout logger, so it will use the global one.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@566477 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 03:28:46 +00:00
Hiram R. Chirino 90deed42cc Improved the STOMP test case a little to verify that killed stomp clients redeliver un acked messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@566277 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 17:33:05 +00:00
Hiram R. Chirino 926f9ce614 Control file was not properly loading state when the the record length stored was not == to the max record length.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@566202 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 14:46:03 +00:00
James Strachan 0576de32a7 Attempt to fix AMQ-1363, to no avail
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@566177 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 14:12:46 +00:00
James Strachan 232844d462 Removing unwanted test files from the test-jar
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@566121 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 12:34:24 +00:00
James Strachan 141ee12e8d added a better example of using Camel with the correct XSD
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@565705 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 11:24:29 +00:00
Robert Davies 54c8eeb842 temporarily comment out log4j dependency
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@565632 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 06:07:37 +00:00
Robert Davies dbbd364393 deleting .pyc files
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@565630 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 05:59:56 +00:00
James Strachan aa87faaaac rolled back the previously applied patch for MessageActivationSpec and re-created the interface from scratch by pulling up all the public getters/methods from the original ActiveMQActivationSpec class to ensure we have the correct license headers etc
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@565398 13f79535-47bb-0310-9956-ffa450edef68
2007-08-13 16:24:29 +00:00
Robert Davies 09f8ac5542 Added the log analyser tool to svn - for http://issues.apache.org/activemq/browse/AMQ-1361
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@565392 13f79535-47bb-0310-9956-ffa450edef68
2007-08-13 16:03:25 +00:00
Robert Davies 2edbcd6298 Applied patch from http://issues.apache.org/activemq/browse/AMQ-1361
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@565383 13f79535-47bb-0310-9956-ffa450edef68
2007-08-13 15:44:57 +00:00
Robert Davies 13a9200e3e Applied patch from http://issues.apache.org/activemq/browse/AMQ-1361
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@565382 13f79535-47bb-0310-9956-ffa450edef68
2007-08-13 15:44:51 +00:00
Robert Davies df6b54240c Applied patch from http://issues.apache.org/activemq/browse/AMQ-1361
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@565381 13f79535-47bb-0310-9956-ffa450edef68
2007-08-13 15:44:44 +00:00
Hiram R. Chirino 540dd5c987 Last set of checkstyle violation fixes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@565003 13f79535-47bb-0310-9956-ffa450edef68
2007-08-12 05:27:21 +00:00
Hiram R. Chirino 60bb460196 added to svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@564978 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 21:37:55 +00:00
Hiram R. Chirino 5f1adbe898 More checkstyle fixes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@564977 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 21:29:21 +00:00
Hiram R. Chirino 933eb2f9e4 More checkstyle fixes and Generics usage.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@564814 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 00:49:19 +00:00
Hiram R. Chirino 5719351cb7 Fix for the testQueuePersistentUncommitedAcksLostOnRestart() test in RecoveryBrokerTest. Since this test resuses the memory based store instance across restarts, the cusror pointers were not getting reset after restart.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@564685 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 17:18:14 +00:00
Hiram R. Chirino ecf89a60bf More checkstyle violation fixes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@564679 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 16:57:01 +00:00
James Strachan 9cde47f42c Patched the ActiveMQ build to work with Camel 1.1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@564622 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 15:39:05 +00:00
Jonas B. Lim 1963ea4006 added test case to simulate "javax.jms.JMSException: Transaction 'TX:ID:...' has not been started." exception
this test appears to manifest consistently on a MacBook. Haven't been able to reproduce this on windows though. 
Is excluded by default as the test can sometime take too long to execute

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@564505 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 08:22:09 +00:00