Commit Graph

5360 Commits

Author SHA1 Message Date
Gary Tully fe31092b54 https://issues.apache.org/jira/browse/AMQ-3288 - JDBC persistence adapter, intermittent performance degradation when a durable subscriber of priority messages falls behind. Store recovery was sometimes ignoring batch limit and would recover till memory limit was reached. Resolved issue with out or order delvery and immediatePriorityDelivery policy around memory limit boundaries. Resolved issue with over eager cleanup when priority and non priority destinations are mixed. Removed potential full table scan from cleanup. Resolved issue with null message ref (prefetch=0) and expiry. Added a bunch of corresponding tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1095352 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 10:39:25 +00:00
Timothy A. Bish 315b00fa14 fix for: https://issues.apache.org/jira/browse/AMQ-3278
fox for: https://issues.apache.org/jira/browse/AMQ-3271

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1094807 13f79535-47bb-0310-9956-ffa450edef68
2011-04-18 22:56:53 +00:00
Bosanac Dejan eb24079a93 https://issues.apache.org/jira/browse/AMQ-2774 - handling TransportDisposedIOException and making reconnection logic work in this case as well
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1094618 13f79535-47bb-0310-9956-ffa450edef68
2011-04-18 15:23:42 +00:00
Bosanac Dejan fc2d54866e https://issues.apache.org/jira/browse/AMQ-3284 - web sockets and truncated body
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1094495 13f79535-47bb-0310-9956-ffa450edef68
2011-04-18 11:26:49 +00:00
Bosanac Dejan 459be2d0fb https://issues.apache.org/jira/browse/AMQ-3283 - transaction support for perf plugin
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1092753 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 16:10:30 +00:00
Bosanac Dejan 2f5821b425 https://issues.apache.org/jira/browse/AMQ-3282 - wrapper.conf
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1092160 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 12:13:12 +00:00
Bosanac Dejan efcd57f60d https://issues.apache.org/jira/browse/AMQ-826 - ldap based authorization - add support for temp destinations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1092098 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 10:27:59 +00:00
Bosanac Dejan d822db72f3 https://issues.apache.org/jira/browse/AMQ-3280 - adding a test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1092070 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 09:17:29 +00:00
Bosanac Dejan 046130ef8e https://issues.apache.org/jira/browse/AMQ-826 - ldap based authorization - more fixes - support composite and easy advisory settings
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1091862 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 17:49:29 +00:00
Bosanac Dejan a072126722 https://issues.apache.org/jira/browse/AMQ-3280 - support selectors in perf plugin
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1091434 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 14:38:52 +00:00
Bosanac Dejan 26cf6a7f26 https://issues.apache.org/jira/browse/AMQ-826 - ldap based authorization - making tests work again, upgrading to apache ds 1.5.7, fixing ldif
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1091401 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 13:25:34 +00:00
Bosanac Dejan efd4a3f723 provide simple logging for perf plugin
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1091078 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 14:00:56 +00:00
Gary Tully 8a2892b9d0 https://issues.apache.org/jira/browse/AMQ-3276 - ConcurrentModificationException in embedded 5.5.0 broker. Rework https://issues.apache.org/jira/browse/AMQ-3219 - no need to set the context on thread creation as mdc impl uses an InheritableThreadLocal. This should avoid the concurrent mod, little test in mods to org.apache.activemq.bugs.AMQ2902Test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1090320 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 16:16:58 +00:00
Gary Tully 2c27e5edf2 add quick test variant to validate presence of mdc between threads
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1090318 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 16:16:27 +00:00
Bosanac Dejan 15de238fd6 https://issues.apache.org/jira/browse/AMQ-3272 - prevent RejectedExecutionException in kahadb
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1090186 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 10:22:40 +00:00
Gary Tully 4ab47eb9aa add baseDir option to jaas properties login module so that the path to properties file can be specified independt of the system property java.security.auth.login.config, useful when run with karaf jass arch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1090179 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 10:04:57 +00:00
Bosanac Dejan 24ed4fe5ae https://issues.apache.org/jira/browse/AMQ-3275 - make udp protocol work
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1089864 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 12:59:24 +00:00
Bosanac Dejan 47833b7fb1 https://issues.apache.org/jira/browse/AMQ-3273 - file lock on win
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1089772 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 08:30:53 +00:00
Gary Tully 2f869e32d0 https://issues.apache.org/jira/browse/AMQ-2710 - use original destination from the message original for the test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1089037 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 13:38:29 +00:00
Gary Tully 2327e3975b https://issues.apache.org/jira/browse/AMQ-2710 - extend example to show dynamic destination determination based on the message original destination property
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1089033 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 13:34:18 +00:00
Bosanac Dejan 2ebdadabc9 setting ACTIVEMQ_OPTS after loading configs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1088989 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 11:42:08 +00:00
Bosanac Dejan aa24935f7b https://issues.apache.org/jira/browse/AMQ-3269 - ACTIVEMQ_MEMORY_OPTS
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1088979 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 11:22:00 +00:00
Bosanac Dejan a345cd3d56 https://issues.apache.org/jira/browse/AMQ-3244 - make checking of the file timestamps default for the jaas properties loging module
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1088955 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 10:20:17 +00:00
Gary Tully 7fdd58e5b2 https://issues.apache.org/jira/browse/AMQ-3268 - Cannot use <SslContext> tag in blueprint configuration. Pull Resource from the api such that that string schema matches the java api. A resource is still used in the implementation such that a local or relative path or uri is supported
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1088944 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 09:47:19 +00:00
Gary Tully 951d87066c https://issues.apache.org/jira/browse/AMQ-3263 - ActiveMQ LoggingBrokerPlugin too verbose. add logSessionEvents attribute to split connection and session info. Patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1088631 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 14:09:30 +00:00
Bosanac Dejan 1760d1aefb https://issues.apache.org/jira/browse/AMQ-3262 - queue browser and message order
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1088593 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 12:27:11 +00:00
Gary Tully d55a3922c9 https://issues.apache.org/jira/browse/AMQ-3253 - Support Temporary Destinations in a network without advisories. Allow gc of regular destinations that have just network consumers, hub/spoke case with dynamic real reply destinations. policy entry: GcWithNetworkConsumers now applicable to all destinations. addition to https://issues.apache.org/jira/browse/AMQ-2571
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1088557 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 11:11:36 +00:00
Gary Tully 254d9209f5 https://issues.apache.org/jira/browse/AMQ-3253 - Support Temporary Destinations in a network without advisories. Support hub and spoke, such that two spokes can communicate. Revisit https://issues.apache.org/jira/browse/AMQ-2571 to make creating temp destinations on command configurable broker setAllowTempAutoCreationOnSend=true and allow temp destinations to be gced via gcInactiveDestinations policy
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1087912 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 21:56:34 +00:00
Gary Tully b9045dba98 https://issues.apache.org/jira/browse/AMQ-3253 - Support Temporary Destinations in a network without advisories. Allow the connection id generator prefix to be set via a connection factory such that temp identies can be configured such that they are suitable for inclusion in a network list of statically included destintions. Allow auto recreation of temp destinations by a new producer and tie lifecycle to the producers connection. This allows configurable support for request reply with temps in a network with advisory support disabled
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1087330 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 15:11:09 +00:00
Bosanac Dejan 3df7404d3e https://issues.apache.org/jira/browse/AMQ-3247 - DEFAULT_JMX_URL for commands
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1087251 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 11:03:28 +00:00
Gary Tully 628a0cde01 https://issues.apache.org/jira/browse/AMQ-3251 - javax.jms.TransactionInProgressException: Cannot rollback() inside an XASession. Make session xa aware such that it won't try local rollback, session is returned to the pool
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1086593 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 14:17:45 +00:00
Bosanac Dejan d8c142f1f4 https://issues.apache.org/jira/browse/AMQ-3249 - removing jaxb and stax from dependencies and distro
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1086566 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 12:32:34 +00:00
Gary Tully eb22a02563 https://issues.apache.org/jira/browse/AMQ-3236 - fix regression in MessageAckTest, ensure wireversion is used for marshaller test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1086542 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 10:33:21 +00:00
Bruce Snyder 70daf6ef74 AMQ-3246 - Fixed warning in example producer output
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1086386 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 20:28:31 +00:00
Timothy A. Bish b0a38ff6c1 Update the test case so that its not dependent on port 61616
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1086378 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 20:10:41 +00:00
Gary Tully 442232514c [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1086321 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 18:02:03 +00:00
Gary Tully c94de4230a [maven-release-plugin] prepare release activemq-5.5.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1086315 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 17:52:07 +00:00
Gary Tully 69ac6cc55e add missing license text
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1086294 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 16:30:46 +00:00
Bosanac Dejan 625f5e38a5 ExpiredMessagesWithNoConsumerTest failure on slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1086280 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 15:43:51 +00:00
Gary Tully 8443bd188a https://issues.apache.org/jira/browse/AMQ-3236 - preserve store compatability with new ack attribute. Only use version 7 openwire on the wire, persist using version 6 format. New ack cause attribute does not need to persist as it gets set in a DLQ message property. resolve regression - org.apache.activemq.store.amq.reader.AMQReaderTest.testIterateArchive
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1086277 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 15:41:18 +00:00
Bosanac Dejan d3676e4bc8 https://issues.apache.org/jira/browse/AMQ-3244 - reload=false for PropertiesLoginModule
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1086219 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 13:02:23 +00:00
Gary Tully 5b11c0e476 https://issues.apache.org/jira/browse/AMQ-2662 - ActiveMQEndpointWorker.stop() sometimes is needing many minutes to shutdown; patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1086210 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 12:36:05 +00:00
Gary Tully 41506505f4 https://issues.apache.org/jira/browse/AMQ-1780 - ActiveMQ broker does not automatically reconnect if the connection to the database is lost - extend the DefaultIOExceptionHandler http://activemq.apache.org/configurable-ioexception-handling.html to be aware of sql exceptions and provide a connector stop/resume option. This is now called in the event of a failure to get a jdbc connection, the default behaviour is to stop as before, but new iptions to ignore some sql exceptions or to stop/resume connectors are supported which allow a db restart to be recovered without restarting the broker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1086182 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 11:00:06 +00:00
Timothy A. Bish 53f789b475 fix for: https://issues.apache.org/jira/browse/AMQ-3241
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1085773 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 17:24:27 +00:00
Timothy A. Bish bbd4b33646 On really slow machine this test can take a bit longer than the current timeout.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1085539 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 19:48:32 +00:00
Bosanac Dejan 8e3e5839e9 change camel to version 2.7.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1085377 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 14:02:45 +00:00
Gary Tully d4d3915d91 help diagnose jenkins failure with expired messages advisory error, tidy up logging to include exception
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1085337 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 11:52:49 +00:00
Timothy A. Bish 08bd791c5d On a slow machine this test can take a lot longer, so increase the wait time accordingly.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1085119 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 20:31:26 +00:00
Timothy A. Bish 751ba900ae fix for: https://issues.apache.org/jira/browse/AMQ-2171
Need to send a pull command when prefetch is zero, also adds test case for this issue.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1085080 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 19:15:50 +00:00
Bosanac Dejan 2f414913e1 https://issues.apache.org/jira/browse/AMQ-3207 - Various improvements to features.xml possible with karaf-2.2
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1084938 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 12:54:17 +00:00