Commit Graph

9581 Commits

Author SHA1 Message Date
Timothy Bish 10fc397ab7 https://issues.apache.org/jira/browse/AMQ-6467
Fill in the source / target created for the requested dynamic node with
the actual attributes we are going to support.
2016-10-14 15:00:49 -04:00
Timothy Bish d9d1ae73eb https://issues.apache.org/jira/browse/AMQ-6466
Update to Proton 0.15.0
2016-10-14 13:21:05 -04:00
Christopher L. Shannon (cshannon) 406a34294b https://issues.apache.org/jira/browse/AMQ-6465
Properly decrementing the message reference count in
DemandForwardingBridgeSupport when messages supression is checked for
durable subscriptions
2016-10-14 12:16:07 -04:00
Timothy Bish a9f9d4a4d2 https://issues.apache.org/jira/browse/AMQ-6464
Correct handling of rejected outcome to archive the message in the DLQ
2016-10-14 09:35:17 -04:00
Timothy Bish 3e237ca73a NO-JIRA: Add some additional test variations and add some more checks 2016-10-13 14:29:13 -04:00
Timothy Bish f71e0ee15b NO-JIRA Add some additional testing around outcomes 2016-10-11 18:58:51 -04:00
gtully 74a5381b9a AMQ-6463 - provide connection to scheduler context in case of deferred send or error 2016-10-11 11:58:37 +01:00
Timothy Bish 1ac89543a8 https://issues.apache.org/jira/browse/AMQ-6460
Add better cleanup of connections on test failure.
2016-10-07 18:48:44 -04:00
gtully 538ed74510 NO-JIRA - ensure stack trace in incuded with exception that terminates data file appender thread 2016-10-07 16:26:07 +01:00
gtully 8493f6b4d7 AMQ-6459 - store based % usage needs to poll the store for the current value on each access 2016-10-07 14:31:52 +01:00
gtully e91f5c8062 AMQ-6454 - ensure message.acknowledge throws if consumer has closed and message has been released broker side 2016-10-07 09:57:28 +01:00
Timothy Bish 1316b57edb NO-JIRA Add ability to set message reply-to for in tests 2016-10-06 15:51:31 -04:00
Timothy Bish a2995b7614 https://issues.apache.org/jira/browse/AMQ-6444
Fix failing tests
2016-10-06 15:03:33 -04:00
Timothy Bish baef8f8ec2 https://issues.apache.org/jira/browse/AMQ-6444
Remove some unneeded instance of checks and used cached values where
possible.
2016-10-06 14:20:03 -04:00
gtully b6759b33dc AMQ-6403 - init broker temp from provided temp store to align usage checks. Thanks for the patchh shailendra14k@gmail.com, made a mod to respect broker.tmpDataDirectory as a default. This closes #204 2016-10-06 11:47:55 +01:00
gtully c1e94c6158 NO-JIRA - remove info logging of config mods, add sanity test of mod to write acl for authorization plugin 2016-10-05 17:08:46 +01:00
Christopher L. Shannon (cshannon) a27f4f2ea8 https://issues.apache.org/jira/browse/AMQ-6428
Merge branch 'AMQ-6428'

This closes #198
2016-10-04 13:29:17 -04:00
Quinn Stevenson bab4a92d6e AMQ-6428 - Added convience methods to EmbeddedActiveMQBroker and JUnit Resources for ActiveMQ clients 2016-10-03 12:31:31 -06:00
Robert Gemmell 3239e4f79e AMQ-6450: update to qpid-jms-0.11.1 2016-10-03 16:50:47 +01:00
Yang Wei 06c9be5619 fix a wrong word
the wrong word in this sentence "with Hadoop based file systems to achive HA of your stored messages" .
“achive” change to "achieve".
2016-10-03 04:50:05 -07:00
Christopher L. Shannon (cshannon) 72650a0b8b https://issues.apache.org/jira/browse/AMQ-6449
Disabling doclint now only activates for JDK 8
2016-10-03 07:37:53 -04:00
Timothy Bish ee9f316c20 https://issues.apache.org/jira/browse/AMQ-6438
Add an additional test that accounts for the fallback transformer case.
2016-09-30 15:54:33 -04:00
Christopher L. Shannon (cshannon) 02082b1aec NO-JIRA: More Java 8 JavaDoc fixes - also fixed findbugs for Java 8 2016-09-30 14:36:44 -04:00
gtully 5385fd1bb3 https://issues.apache.org/jira/browse/AMQ-6446 - use shared logger and pepend statements with connection counter. Old behaviour or per connection logger can be obtained with trace=true&jmxPort=0 2016-09-30 14:05:42 +01:00
Timothy Bish c60d716968 NO-JIRA Update the IDE Runner to fix some config options 2016-09-29 16:57:36 -04:00
Timothy Bish d88c4e46ec https://issues.apache.org/jira/browse/AMQ-6438
Better interop for MapMessage with Binary value in the entries of the
payload, should convert back and forth the byte to allow Message to be
treated as a MapMessage and not fall back to a BytesMessage encoding.
2016-09-29 11:09:34 -04:00
Christopher L. Shannon (cshannon) 351faf2699 https://issues.apache.org/jira/browse/AMQ-6445
Fixing RandomAccessFile usage so that the file will be properly closed
even if there is an exception
2016-09-29 06:16:40 -04:00
Timothy Bish 0dd806f43f https://issues.apache.org/jira/browse/AMQ-6444
Ensure that unsettled TX messages remain acquired and not redelivered to
the receiver.   Add several tests that demonstrate that a received
message can be released, rejected, accepted or modified after a TX
rollback if it was not settled.
2016-09-28 14:57:04 -04:00
gtully 634b42016a https://issues.apache.org/jira/browse/AMQ-5486 - allow selector manager to reject tasks - org.apache.activemq.transport.nio.SelectorManager.rejectWork leaving the default to caller runs policy. This allows a broker to implement qos for existing connections by forcing others away 2016-09-28 12:15:50 +01:00
gtully 08695ab303 https://issues.apache.org/jira/browse/AMQ-6184 - add workQueueCapacity config property default to 0 where a value > 0 swaps out the dsynchQ for a capicity limited blocking queue. This allows the core pool to grow on demand as before but also allows work to be queued when necessary 2016-09-28 10:04:22 +01:00
Timothy Bish 45f60e4133 https://issues.apache.org/jira/browse/AMQ-6438
Remove redundant tests and clean up a few small nits.
2016-09-27 17:08:28 -04:00
Timothy Bish b1a9a9382b https://issues.apache.org/jira/browse/AMQ-6438
Add a new test for encode / decode validation.  Fix issue where the
internal scheduled message properties were escaping into the outbound
message.
2016-09-27 15:56:27 -04:00
Christopher L. Shannon (cshannon) 507bf3ab01 NO-JIRA: Disabling doclint check so jdk8 can be used to build javadocs 2016-09-27 08:20:23 -04:00
Christopher L. Shannon (cshannon) 26e7136ab7 NO-JIRA: Adding 5.14.1 schema entry 2016-09-27 08:05:15 -04:00
Christopher L. Shannon (cshannon) 20f27f22b9 https://issues.apache.org/jira/browse/AMQ-6442
Merging AMQ-6442
2016-09-27 07:57:43 -04:00
Krzysztof Sobkowiak 132840b09f https://issues.apache.org/jira/browse/AMQ-6442
Config file org.apache.activemq.server-default.cfg points config to ${karaf.base}/etc
2016-09-27 07:57:33 -04:00
Dejan Bosanac e8ba0b0119 https://issues.apache.org/jira/browse/AMQ-6435 - destination mbean query api, return the right count 2016-09-27 12:53:49 +02:00
Timothy Bish 63d62a71f5 https://issues.apache.org/jira/browse/AMQ-6438
JMS Transformer performance improvements and bug fixes

Trim unnecessary code and improve overall performance of the JMS
Transformer codecs.  Remove legacy Qpid JMS client related code from the
transformer as these are no longer supported.  Fix outgoing message that
do not match the structure of the incoming message that created them such
as message with had only a body being sent out with Headers and message
Properties.
2016-09-26 18:43:06 -04:00
Timothy Bish 5702ec8d7c https://issues.apache.org/jira/browse/AMQ-6438
Add additional test for larger more complex AMQP message
2016-09-26 17:19:42 -04:00
Christopher L. Shannon (cshannon) a82c95cd29 https://issues.apache.org/jira/browse/AMQ-6436
The temporary store will now delete the old temp directory on start up
if lazyInit is true instead of waiting for the store to initialize to
clear up space.  This prevents space on the disk from being wasted with
old data if the temp store isn't initialized
2016-09-23 15:47:27 -04:00
Christopher L. Shannon (cshannon) 09456480b8 https://issues.apache.org/jira/browse/AMQ-6431
Fixing BitArrayBin to not overflow in certain cases with numbers larger
than Int max
2016-09-23 14:30:37 -04:00
Christopher L. Shannon (cshannon) 18571ce09b https://issues.apache.org/jira/browse/AMQ-6430
Modifying patch so that only stores that persist the noLocal flag will
check if this flag has changed to prevent a subscription from being
deleted by mistake
2016-09-23 10:59:32 -04:00
Christopher L. Shannon (cshannon) 2b99ffcc22 https://issues.apache.org/jira/browse/AMQ-6433
Generating a new equals method in TypeConversionSupport so the proper
null checks exist
2016-09-23 08:02:22 -04:00
Christopher L. Shannon (cshannon) f25e7ab47f https://issues.apache.org/jira/browse/AMQ-6434
Rewriting logic in finally block of PooledTaskRunner to avoid using a
return statement
2016-09-23 07:51:11 -04:00
Timothy Bish d4c7cce7d7 https://issues.apache.org/jira/browse/AMQ-6438
Makes some improvements to the profiling test for the transformers.
2016-09-21 18:18:41 -04:00
Clebert Suconic 35e8a52888 NO-JIRA: Adding an extra test on AmqpTransactionTest
The test I'm adding was back ported from Artemis.
It will validate if the ACKs are nacked in case of a connection.close();
To avoid a situation where the TX would sit on a Transaction Resource Manager somewhere like an XID.
2016-09-21 16:13:57 -04:00
Christopher L. Shannon (cshannon) 7c293b661f https://issues.apache.org/jira/browse/AMQ-6430
When a nolocal durable consumer reconnects the new connectionId is properly captured for
the NoLocal expression so that nolocal works on reconnect.  Also fixed
the detection of the nolocal value changing on consumer connect.
2016-09-21 09:34:46 -04:00
gtully 6c01b641b1 https://issues.apache.org/jira/browse/AMQ-6422 - move delivery tracking to pumpoutbound and additional test that shows how the presettle case breaks. Thanks to Robbie Gemmell for the feedback 2016-09-21 13:59:45 +01:00
gtully ffee8b442f https://issues.apache.org/jira/browse/AMQ-6422 - match proton sender view credit to prefetchExtension - tracking credit to dispatch delta to track additional flow requests. Proton sender layer is distinct from the transport layer - they mirror each other 2016-09-21 10:33:20 +01:00
gtully 5d9f1cd3d5 https://issues.apache.org/jira/browse/AMQ-6435 - use lesser guava dep to match leveldb java 2016-09-21 10:26:06 +01:00