Commit Graph

6907 Commits

Author SHA1 Message Date
Claus Ibsen e85a8bd11c AMQ-3797: Avoid using StringArrayEditor as property editor as it causes memory leak when undeploying app in a container such as Tomcat.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1380168 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 08:35:42 +00:00
Claus Ibsen bed42a27c6 AMQ-3797: Added unit test for StringArrayEditor
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1380147 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 07:24:27 +00:00
Claus Ibsen b186513b05 AMQ-3797: Avoid adding the same paths to property editor serach path, if for example ActiveMQ is redeployed.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379967 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 13:48:04 +00:00
Claus Ibsen 5cbdddae98 AMQ-3861: Offer a way to not set a transaction manager in activemq-camel. Thanks to patch from Babak. Requires Camel 2.10 or better.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379939 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 10:54:22 +00:00
Claus Ibsen 83eb01188a AMQ-4008: Fixed MDC leak during shutting down AMQ broker, such as reported by Apache Tomcat.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379923 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 07:32:41 +00:00
Claus Ibsen 15b27399e8 AMQ-4007: Fixed default values of system usage for GB values to use 1024 multiplier instead of 1000.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379922 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 07:12:33 +00:00
Claus Ibsen 5abbfc2200 AMQ-4013: Upgraded to xbean 3.11.1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379918 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 06:38:57 +00:00
Claus Ibsen 8e43091a45 AMQ-3847: activemq-camel has again required dependency on activemq-pool.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379795 13f79535-47bb-0310-9956-ffa450edef68
2012-09-01 16:20:52 +00:00
Claus Ibsen 12e25bd849 AMQ-3950: activemq-blueprint has wider osgi import of aries. Thanks to Balazs Zsoldos for the patch.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379771 13f79535-47bb-0310-9956-ffa450edef68
2012-09-01 15:25:52 +00:00
Claus Ibsen ca728c0958 AMQ-4007: Fixed default values of system usage for GB values to use 1024 multiplier instead of 1000.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379767 13f79535-47bb-0310-9956-ffa450edef68
2012-09-01 14:59:17 +00:00
Claus Ibsen 4b44d3129c AMQ-4012: Use english locale when doing lower/upper case introspection to avoid issues when running on certain locales such as turkish.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379765 13f79535-47bb-0310-9956-ffa450edef68
2012-09-01 14:50:33 +00:00
Claus Ibsen 0e724cd53f AMQ-4010: Use pre compiled pattern when doing string replaceAll as its faster.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379761 13f79535-47bb-0310-9956-ffa450edef68
2012-09-01 13:04:53 +00:00
Claus Ibsen 3092051699 AMQ-4008: Fixed issue with re-deploying AMQ broker in same JVM such as Apache Tomcat, with the jmx connector not working on re-deployment. Now it does. Improved logging and better message to end user about the JMX issue.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379454 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 14:01:39 +00:00
Bosanac Dejan ee2069f85c https://issues.apache.org/jira/browse/AMQ-3986 - respect prefetch values for MDBs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379433 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 12:53:53 +00:00
Bosanac Dejan 1e57750dd6 https://issues.apache.org/jira/browse/AMQ-3986 - improve test, copy prefetch policies on managed connection factory
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379414 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 10:46:49 +00:00
Claus Ibsen eea9fca04d AMQ-4008: Fixed MDC leak during shutting down AMQ broker, such as reported by Apache Tomcat.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379376 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 09:10:23 +00:00
Claus Ibsen d6025b8a09 Upgraded to Camel 2.10.1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379310 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 06:35:16 +00:00
Timothy A. Bish 80242339ec Update to commons-pool v 1.6 for: https://issues.apache.org/jira/browse/AMQ-4006
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379082 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 19:35:06 +00:00
Claus Ibsen a639794c08 Added more to svn ignore
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378932 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 13:33:39 +00:00
Bosanac Dejan f5178cc73f https://issues.apache.org/jira/browse/AMQ-4005 - pluggable lockers; move shared file locker from kahadb package and improve javadocs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378917 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 13:00:04 +00:00
Claus Ibsen b080d5fe21 AMQ-3988: Setting a message listener to null on AcitveMQSession should be allowed even if the session has been closed, to avoid throwning invalid state exception, that causes exceptions to be logged during shutting down apps. This allows a more clean shutdown of AMQ.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378887 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 11:15:32 +00:00
Bosanac Dejan 6ce702d4cf https://issues.apache.org/jira/browse/AMQ-4005 - plugable lockers; introduce new API and refactor current KahaDB and JDBC solutions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378881 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 10:47:49 +00:00
Claus Ibsen dd2556bc91 AMQ-4004: The option maximumActive has been name a more descriptive name to not confuse end users. The old name is kept but is @deprecated to be backwards compatible.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378859 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 08:54:15 +00:00
Claus Ibsen 8fc47c6abf AMQ-4003: Add option to PooledConnectionFactory to control if connection should be created on startup or not
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378853 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 08:37:44 +00:00
Timothy A. Bish 324ab99afa additional change for: https://issues.apache.org/jira/browse/AMQ-3996
The sslEngine instance in the NIOSSLTransport needs to be updated when the handshake process completes.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378686 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 19:11:22 +00:00
Gary Tully 99be769f96 https://issues.apache.org/jira/browse/AMQ-3998 https://issues.apache.org/jira/browse/AMQ-3999 - fix regression in org.apache.activemq.bugs.AMQ3934Test - resetting batch too eagerly in old behaviour results in picking up deleted message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378542 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 13:30:04 +00:00
Gary Tully 935265529f make test more deterministic, ensure bridge starts first time b/c remote broker is started first, may need to use a queue if there are further inconsistency problems
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378540 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 13:29:20 +00:00
Timothy A. Bish 6175dc4639 fix for: https://issues.apache.org/jira/browse/AMQ-3996
Set the transportContext property if the certificates are available.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378372 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 22:41:02 +00:00
Jonathan Anstey bcc9e02e93 Use same ServiceMix specs version as Camel
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378213 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 16:39:31 +00:00
Jonathan Anstey 795a203c03 AMQ-4001 - align commons-lang dependency
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378139 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 14:01:55 +00:00
Torsten Mielke d3ce3d8e4a Enabling support for JMX (off by default) to NetworkTestSupport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378102 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 12:21:35 +00:00
Claus Ibsen 3a3416caa7 AMQ-3967: Fixed unit test after upgrading Camel
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378100 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 12:19:07 +00:00
Gary Tully b496c0a38c https://issues.apache.org/jira/browse/AMQ-3997 - Memory leak in activemq-pool. Apply patch from claus with thanks, removes duplicate listener registration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378098 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 12:11:58 +00:00
Gary Tully d41f40a051 https://issues.apache.org/jira/browse/AMQ-3998 https://issues.apache.org/jira/browse/AMQ-3999 - fix issue with redispatch of committed prepared transactions, unnecessary call to determin store size for durable subs and duplicate recording of message pending dispatch on an unsubscribe
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378085 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 11:42:27 +00:00
Bosanac Dejan 00bdf0044a https://issues.apache.org/jira/browse/AMQ-3986 - optimizeDurablePrefetch on ActiveMQConnectionSupport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378057 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 10:17:58 +00:00
Bosanac Dejan 9b0316b9b4 https://issues.apache.org/jira/browse/AMQ-3980 - generic support for all web socket tuning options
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378035 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 09:24:53 +00:00
Timothy A. Bish 53f07b0a75 fix for: https://issues.apache.org/jira/browse/AMQ-3995
Remove the long and not so useful serial add test.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1377779 13f79535-47bb-0310-9956-ffa450edef68
2012-08-27 18:26:22 +00:00
Timothy A. Bish 6ce59ed1b0 fix and test for: https://issues.apache.org/jira/browse/AMQ-3992
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1377095 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 20:39:23 +00:00
Gary Tully c55f6a84d7 https://issues.apache.org/jira/browse/AMQ-3557 - Performance of consumption with JDBC persistance and Microsoft SQL Server. Fix up default value for maxRows to allign with default page size. Use a large maxPageSize via destination policy for durable subs that have sparse selectors. Same as queues with sparse selectors
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1376934 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 14:21:22 +00:00
Gary Tully 705a877981 trace temp dest recreation by state tracker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1376513 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 14:45:17 +00:00
Bosanac Dejan 86e9527e1f https://issues.apache.org/jira/browse/AMQ-3986 - optimizeDurablePrefetch with RA adapter
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1376431 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 10:50:36 +00:00
Gary Tully 5ed1ce50da https://issues.apache.org/jira/browse/AMQ-3872 - fix up typo in blob adapter
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1376100 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 15:29:28 +00:00
Gary Tully 6c73104152 include local port in transport to string to allow correlation between client and server side transport threads based on their ports.
Appending @local-port so client side: "ActiveMQ Transport: tcp://localhost/127.0.0.1:61616@56811" thread can be correlated with broker
side: "ActiveMQ Transport: tcp:///127.0.0.1:56811@61616" which listens on local 61616

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1376038 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 13:31:20 +00:00
Timothy A. Bish 4bace216b9 updated fix: https://issues.apache.org/jira/browse/AMQ-3982
Instead of locking on the PList iterator which forces a lock on every access to hasNext we should lock down at the PageFile level in readPage making the seek and read an atomic operation.  Since many reads on a single already loaded page don't need to be synchronized we pay a higher price for locking in the specific PList case than we do buy creating this atomic read operation in PageFile. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1375852 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 23:28:50 +00:00
Gary Tully ba9037ca65 https://issues.apache.org/jira/browse/AMQ-3985 - ActiveMQConnection temp advisory consumer should use asyncDispatch - can cause deadlock with slow consumers. Fix with test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1375595 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 14:59:41 +00:00
Bosanac Dejan dfbdbf6a50 https://issues.apache.org/jira/browse/AMQ-3983 - osgi dependency
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1375543 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 13:44:49 +00:00
Gary Tully a526a60abd avoid repated additions to the full list on dispatch, may need to revisit the pendingWakeups count on iterate, seems we will attempt to dispatch too often which is a waste of cpu in the event that there are pending messages or new sends and slow consumers, relates to: https://issues.apache.org/jira/browse/AMQ-1902
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1375484 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 11:54:31 +00:00
Gary Tully 3fa927554c https://issues.apache.org/jira/browse/AMQ-3887 - have local dispatch do safe wait till remove broker setup is complete such that producer is fully created
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1375459 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 10:26:24 +00:00
Gary Tully 7e206615b8 remove non portable ref to /tmp for test - https://issues.apache.org/jira/browse/AMQ-3982
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1375444 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 09:29:33 +00:00
Timothy A. Bish 030d09b816 fix and test for: https://issues.apache.org/jira/browse/AMQ-3982
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1375140 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 17:50:10 +00:00