Commit Graph

5460 Commits

Author SHA1 Message Date
Timothy A. Bish 8976a6b973 fix for: https://issues.apache.org/jira/browse/AMQ-3511
Log Stomp frames sent and received by the StompTransport under
org.apache.activemq.transport.stomp.StompIO when the trace option
is enabled.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1175047 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 22:04:20 +00:00
Timothy A. Bish fef66a6e98 fix for https://issues.apache.org/jira/browse/AMQ-3242
Make the max value actually be Short.MAX_VALUE

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1174954 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 18:58:55 +00:00
Timothy A. Bish ca90cc7b8c fix for: https://issues.apache.org/jira/browse/AMQ-3031
Don't use the scheduleAtFixedRate method in our scheduler as we
don't really have a need for real time task execution, just use
the fixed delay scheduler so that jobs don't stack up.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1174952 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 18:50:15 +00:00
Timothy A. Bish 1453c53105 fix for: https://issues.apache.org/jira/browse/AMQ-3031
Don't use the scheduleAtFixedRate method in our scheduler as we
don't really have a need for real time task execution, just use
the fixed delay scheduler so that jobs don't stack up.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1174951 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 18:48:19 +00:00
Timothy A. Bish 2db7cbf436 Remove the dependency on the fixed 61616 port number
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1174734 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 13:13:33 +00:00
Timothy A. Bish d314b7f57d https://issues.apache.org/jira/browse/AMQ-3449
Add the setters/getters back for the ignore wireformat options.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1174097 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 12:45:07 +00:00
Timothy A. Bish f0e6f26623 fix for: https://issues.apache.org/jira/browse/AMQ-3506
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1173648 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 13:56:11 +00:00
Gary Tully ad6b5e29db https://issues.apache.org/jira/browse/AMQ-3289 - updates to Blob/Oracle JDBCAdapter - applied patch from William McDonald with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1173605 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 12:45:48 +00:00
Gary Tully e6a9ae2f31 https://issues.apache.org/jira/browse/AMQ-3507 - Large number of expiring messages causing QueueSize to groww. have cursor delegate to the destination for expiry processing. additional test. This will also sort out the intermittent failure of this test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1173583 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 12:09:30 +00:00
Timothy A. Bish e23afb3391 change for https://issues.apache.org/jira/browse/AMQ-3467
fix and issue created when the new changes were merged.




git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1173188 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 15:22:53 +00:00
Timothy A. Bish 5325cdb30b fixes for https://issues.apache.org/jira/browse/AMQ-3467
Clean up some code in MessageDatabase, add guards around logging to avoid big string ops when not
needed.  



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1172640 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 14:23:02 +00:00
Timothy A. Bish 199c6838d4 Some updates and changes to support some work on https://issues.apache.org/jira/browse/AMQ-3467
Cleanup some code in the DataByteArrayOutputStream and fix an issue in the readUTF 
code that code result in a UTFDataFormatException to be thrown for no reason.

Adds some tests for those classes as well.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1172600 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 12:46:38 +00:00
Gary Tully a36e618f71 https://issues.apache.org/jira/browse/AMQ-3501 - make use of the encoded string! and add some tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1172572 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 11:30:14 +00:00
Gary Tully 7d082c36bb https://issues.apache.org/jira/browse/AMQ-3490 - allow optional lazyInit of temp (plist) store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1172528 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 09:03:13 +00:00
Timothy A. Bish 943db3c3cb fixes for https://issues.apache.org/jira/browse/AMQ-3467
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1171743 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 19:31:30 +00:00
Gary Tully 4a697f852a https://issues.apache.org/jira/browse/AMQ-3490 - defer setting init done flag till complete, ensure a failed init attempt is retried
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1171487 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 10:13:41 +00:00
Gary Tully 94de98a64c https://issues.apache.org/jira/browse/AMQ-2922 - give test scenario more time for hudson slow disks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1171006 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 08:44:52 +00:00
Gary Tully 2f5ec047dd https://issues.apache.org/jira/browse/AMQ-3497 - make test case more deterministic using receipts on unsub such that a sub only gets one message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1170901 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 23:41:42 +00:00
Timothy A. Bish b65626689d apply patch for: https://issues.apache.org/jira/browse/AMQ-3492
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1170867 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 22:07:30 +00:00
Timothy A. Bish 334ade2f5d Some updates and changes to support some work on https://issues.apache.org/jira/browse/AMQ-3467
Enhance the ListIndex to improve performance of the remove and put operations, put is now a
real put and will update the element with the given key if it exists in the list, otherwise
it will add it to the end.  Also adds the ability for a single key/value pair to span more
than one page when needed, multiple elements will still reside on one page whenever possible.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1170849 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 21:15:39 +00:00
Bosanac Dejan 06c00c1db8 https://issues.apache.org/jira/browse/AMQ-2961 - revert osgi-core to 4.1.0 as the 4.3.0 requires osgi.framework > 1.6, limiting number of container which can run it
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1170694 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 15:46:37 +00:00
Gary Tully 8abb5b6df1 https://issues.apache.org/jira/browse/AMQ-3499 - increase transport failure to warn and exclude eof for stomp
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1170624 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 13:49:25 +00:00
Claus Ibsen 5cf4ada14a AMQ-3498: Added support for using ActiveMQ Destination Options in the Camel endpoint uris, by specifing the options with destination. prefix.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1170599 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 13:20:52 +00:00
Gary Tully ba0c1e59b2 https://issues.apache.org/jira/browse/AMQ-3497 - send subscription receipt early such that it cannot be preceeded by a message dispatch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1170523 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 10:46:48 +00:00
Gary Tully 68a8b6d62a https://issues.apache.org/jira/browse/AMQ-3496 - make use of the org.apache.activemq.command.UnresolvedDestinationTransformer to provide a default value for an unqualified destinations string for a stomp replyTo header
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1170474 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 08:32:56 +00:00
Gary Tully ede4964539 remove duplicate declaration of mvn-jar-plugin
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1170243 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 17:07:25 +00:00
Gary Tully 15953786d1 https://issues.apache.org/jira/browse/AMQ-2922 - rework, introduce new store 'mKahaDB' that contains multiple filtered kahadb persistence adapters, destinations match a store using destination wildcards in the same way as policy entries. Transactions that span multiple stores use a local xa variant to ensure consistency
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1170201 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 15:01:37 +00:00
Claus Ibsen 232d59a77d CAMEL-3458: Using FQN in Camel TypeConverter file, after upgrade to Camel 2.8.1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1170056 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 06:04:34 +00:00
Claus Ibsen e97044d7ee AMQ-3494: Upgrade to Camel 2.8.1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1170054 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 06:02:47 +00:00
Timothy A. Bish 0d08a5a20f fix for: https://issues.apache.org/jira/browse/AMQ-3488
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1169549 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 21:41:49 +00:00
Timothy A. Bish 4f14f1e5c0 fix for: https://issues.apache.org/jira/browse/AMQ-3488 along with test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1169514 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 19:56:20 +00:00
Timothy A. Bish 3060a64c8c fix for https://issues.apache.org/jira/browse/AMQ-3493
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1167582 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 19:48:54 +00:00
Timothy A. Bish 251dc7bb23 fix for https://issues.apache.org/jira/browse/AMQ-3486 with test case.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1166216 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 15:11:10 +00:00
Timothy A. Bish acde68e3ab add test for: https://issues.apache.org/jira/browse/AMQ-3484
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1166177 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 13:44:33 +00:00
Timothy A. Bish 9529b24046 Apply patches for https://issues.apache.org/jira/browse/AMQ-3483
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1166164 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 13:19:49 +00:00
Timothy A. Bish 6e6d8605d3 https://issues.apache.org/jira/browse/AMQ-3467
Handle a potential NPE case.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1165797 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 19:35:33 +00:00
Timothy A. Bish 82e3be347c Some updates and changes to support some work on https://issues.apache.org/jira/browse/AMQ-3467
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1164936 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 21:39:12 +00:00
Gary Tully 937d5dd0c4 let the test find its login.config
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1164507 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 12:33:13 +00:00
Timothy A. Bish 5ac1540c63 apply fix for: https://issues.apache.org/jira/browse/AMQ-3482 to return default behavior to blocking.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1164058 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 13:02:28 +00:00
Gary Tully 588a3c3594 make test a little more deterministic and simplify failure check
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1164056 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 12:55:18 +00:00
Bosanac Dejan bb2f0db7b8 https://issues.apache.org/jira/browse/AMQ-3427 - maven jar and archiver plugin updates
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1163987 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 10:26:33 +00:00
Bosanac Dejan 603b215841 https://issues.apache.org/jira/browse/AMQ-3481 - stomp deadlock
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1163940 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 08:28:47 +00:00
Timothy A. Bish cf914d16af apply patch for: https://issues.apache.org/jira/browse/AMQ-3482
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1163815 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 21:07:28 +00:00
Gary Tully c6ed5ff237 https://issues.apache.org/jira/browse/AMQ-2868 - rework to remove sync on transaction completion, cursor updates are now stacked so that they ocurr in order, independent of thread execution after waiting for the journal to complete a write. This ensures that the cursors are updates in the same order as the index while still working wo the index lock. TransactedConsumerTest shows horizontal scaling now works better with transactions. Reworked metadata.lastUpdate to always work with the existing index lock rather than reaquire, this may help with spurious gc journal data file issue on windows - https://issues.apache.org/jira/browse/AMQ-3470
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1163613 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 13:07:57 +00:00
Gary Tully 33eb944e18 camel spring pool config, match concurrentConsumers to pool maxActive*num routes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1162743 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 11:21:44 +00:00
Timothy A. Bish 17995e6fac fix for: https://issues.apache.org/jira/browse/AMQ-3157
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1162275 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 22:25:32 +00:00
Timothy A. Bish 82df23e4a4 fix for https://issues.apache.org/jira/browse/AMQ-3475
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1162215 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 19:18:34 +00:00
Gary Tully 35384de3a7 second route is the way to use a second connection and let spring do the caching
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1162175 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 17:15:46 +00:00
Bosanac Dejan 713dcaae56 https://issues.apache.org/jira/browse/AMQ-3401 - pluggable unresolved destination trnasformer
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1162073 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 11:58:02 +00:00
Bosanac Dejan 4f50d25a22 https://issues.apache.org/jira/browse/AMQ-3474 - flush only if we have some non-persistent messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1162063 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 11:12:36 +00:00