Commit Graph

9244 Commits

Author SHA1 Message Date
Timothy Bish e8f44a29dd https://issues.apache.org/jira/browse/AMQ-5578
Revert to previous behavior of explicit init.
2016-03-02 17:18:30 -05:00
Timothy Bish e89b7a57f1 https://issues.apache.org/jira/browse/AMQ-5578
Remove unnecessary zero init block as the java spec requires the
allocations to do this already.  Fix some warnings.
2016-03-02 16:17:43 -05:00
Timothy Bish 5d6d42ce97 https://issues.apache.org/jira/browse/AMQ-5883
https://issues.apache.org/jira/browse/AMQ-5884
https://issues.apache.org/jira/browse/AMQ-5885

Add additional validation of Topic names used in subscribe and
unsubscriobe that test for spec compliance.
2016-03-02 12:30:54 -05:00
Timothy Bish 8ef44452a2 https://issues.apache.org/jira/browse/AMQ-5880
Adds a test for the issue that is ignored for now while we wait for a
fixed MQTT client release.
2016-03-01 16:18:16 -05:00
Christopher L. Shannon (cshannon) e375af3810 https://issues.apache.org/jira/browse/AMQ-6182
Adding missing License header
2016-03-01 16:01:58 +00:00
Christopher L. Shannon (cshannon) ebe8cf65a0 NO-JIRA - adding missing schema identifiers 2016-03-01 15:50:05 +00:00
Christopher L. Shannon (cshannon) d89826bdab https://issues.apache.org/jira/browse/AMQ-6176
Upgrading Saxon version to fix xpath filter errors when using Camel

Thanks to Jamie Goodyear for the patch
2016-03-01 15:16:17 +00:00
gtully d8cf54b0a9 https://issues.apache.org/jira/browse/AMQ-4495 - revisit. Reinstate check for space on pagein, so that highWaterMark is respected and full state is not reached, hense pfc is not triggered in error 2016-03-01 11:44:41 +00:00
Christopher L. Shannon (cshannon) 473b3284d4 https://issues.apache.org/jira/browse/AMQ-6182
Reworking patch so that the http trace method is also turned off by
default for the HttpTransport, besides just for the Websocket transport.
Also added SSL tests for both transports.
2016-02-29 22:36:59 +00:00
Timothy Bish f6d25842cc NO-JIRA Adds some small fixes to the AMQP test client around SSL
handling that were found in Qpid JMS where some of this came from.
2016-02-29 16:13:28 -05:00
Christopher L. Shannon (cshannon) 19c9404916 https://issues.apache.org/jira/browse/AMQ-5882
removing illegal wildcard characters used in topics for some MQTT tests
2016-02-29 13:29:44 +00:00
Christopher L. Shannon (cshannon) 1b38b27ed2 https://issues.apache.org/jira/browse/AMQ-5882
Fail to publish if the topic name in the publish packet contains a wild
card character as per the MQTT V3.1 and V3.1.1 spec.
2016-02-28 17:54:23 +00:00
Christopher L. Shannon (cshannon) 012e4d0a1c https://issues.apache.org/jira/browse/AMQ-6188
Patch applied with thanks to Brian D. Johnson
2016-02-26 20:58:39 +00:00
Brian D. Johnson 552c0f0f7a https://issues.apache.org/jira/browse/AMQ-6188 - reset BaseDestination.lastActiveTime each time a message is delivered to the broker. 2016-02-26 20:46:32 +00:00
Christopher L. Shannon (cshannon) 7335f699f2 https://issues.apache.org/jira/browse/AMQ-6182
adding timeout to test method
2016-02-26 19:20:16 +00:00
Christopher L. Shannon (cshannon) 4fb8083977 https://issues.apache.org/jira/browse/AMQ-6182
Disabling the HTTP trace method on the websocket port by default.  It
can be enabled by setting the parameter "http.enableTrace=true" on the
connection uri if it is needed for debugging.
2016-02-26 18:54:25 +00:00
Timothy Bish 6e2edf08c3 https://issues.apache.org/jira/browse/AMQ-6187
Create a proper SSLContext for the MQTT client provider in the tests to
avoid failure on newer JDKs
2016-02-26 13:42:16 -05:00
Timothy Bish c530b69e16 https://issues.apache.org/jira/browse/AMQ-5881
Fail the connect if the password is set but the username bit is not as
per the V3.1.1 spec requirements.
2016-02-25 19:08:22 -05:00
Timothy Bish 06bc2840de AMQ-6167 Remove old example that used the now defunct IBM perfharness. 2016-02-25 12:20:20 -05:00
Dejan Bosanac ca5912d9fa https://issues.apache.org/jira/browse/AMQ-6184 - improve nio transport scalability; get back core pool size 2016-02-25 13:43:21 +01:00
Dejan Bosanac 934a30a327 https://issues.apache.org/jira/browse/AMQ-6184 - improve nio transport scalability 2016-02-25 12:07:51 +01:00
Timothy Bish c2ad0c3251 AMQ-6183 Add isDispatchSync to the subscription view and deprecate the
meaningless one in the producer view
2016-02-24 17:25:01 -05:00
Timothy Bish bc960f3a7e This closes #169 2016-02-23 11:56:28 -05:00
Andrea Cosentino 98c866817d AMQ-6181 - Upgrade to Joda-time 2.9 2016-02-23 15:47:52 +01:00
Christopher L. Shannon (cshannon) 0f445a535f https://issues.apache.org/jira/browse/AMQ-6177
Fixing CronParserTest so that it checks 24 hour format properly when
using a timezone shifted by 30 minutes

Thanks to Jamie Goodyear for the patch
2016-02-22 12:50:07 +00:00
Robert Gemmell f7941a7fbf AMQ-6178: update to Qpid JMS 0.8.0 2016-02-22 11:13:35 +00:00
Claus Ibsen f490ab549d CAMEL-8522: Enrich AMQ message with original destination (where Camel received the message) which for example allows to keep that information when sending messages to other queues or DLQs etc. 2016-02-20 10:23:54 +01:00
Jeff Genender 49974279a7 AMQ-6175 - Web console needs to only obtain lists of MBeans that are not
suppressed.
2016-02-18 14:25:30 -07:00
Timothy Bish bbb17da52f https://issues.apache.org/jira/browse/AMQ-6147
Add a test that can reproduce an issue seen when emitFlowOnSend is
disabled on the proton transport to allow for further investigation.
2016-02-18 16:07:59 -05:00
Timothy Bish 4e60075a32 https://issues.apache.org/jira/browse/AMQ-6169
Add additional null check
2016-02-17 13:17:37 -05:00
Timothy Bish 33e27a4f5a NO-JIRA: Add some additional assertions so tests fail more cleanly in
the case of a receive not getting a message before it's assigned
timeout.
2016-02-17 11:34:25 -05:00
gtully fd76088814 https://issues.apache.org/jira/browse/AMQ-5875 - additional test that shows durable sub registration does not error out with this fix 2016-02-17 14:09:05 +00:00
Claus Ibsen f0378bcd3f Turn off jolokia discovery by default. 2016-02-17 08:38:26 +01:00
Claus Ibsen ba6c39c26d Jolokia should not send back exceptions/error details by default 2016-02-17 08:02:55 +01:00
Claus Ibsen 7c4685b921 Upgrade jolokia 2016-02-17 07:59:48 +01:00
Robert Gemmell 3f7b2d6bb0 AMQ-6147: update to proton-j 0.12.0 release 2016-02-16 17:21:12 +00:00
gtully b0c0441d09 https://issues.apache.org/jira/browse/AMQ-6171 - fix vm transport replacement of : from brokerName in error, fix networkConnector retry logic in the event of localTransport creation failure 2016-02-15 14:14:19 +00:00
Christopher L. Shannon (cshannon) 24ad367785 https://issues.apache.org/jira/browse/AMQ-6170
Fixing X-Frame-Options header so that is applied for all content served
by Jetty.  The previous patch wasn't correct because it only applied it
to Servlets and JSPs and not static content. This also reverts AMQ-6113
2016-02-12 20:43:45 +00:00
Timothy Bish b595b8bc12 https://issues.apache.org/jira/browse/AMQ-6169
Log actual STOMP frames that cause error at trace level, only log the
command action if it is present and valid.
2016-02-12 13:56:50 -05:00
Timothy Bish adf70bc08a https://issues.apache.org/jira/browse/AMQ-6168
Disconnect on unkown STOMP Command Action.
2016-02-12 12:36:39 -05:00
Christopher L. Shannon (cshannon) 3e4bf2df75 https://issues.apache.org/jira/browse/AMQ-6165
Merging Python Stomp example fixes

This closes #168
2016-02-12 16:44:05 +00:00
Ingo Weiss f89e8c5d25 Clarified and updated instructions
Updated the example to match stompest API changes
2016-02-12 16:43:45 +00:00
Claus Ibsen 40ecf22f0f AMQ-6166: Add option to configure trustAllPackages on Camel ActiveMQ component 2016-02-11 12:04:24 +01:00
gtully 499e39e52c https://issues.apache.org/jira/browse/AMQ-6164 - allow journal write batching on a single destination 2016-02-09 12:50:27 +00:00
Christopher L. Shannon (cshannon) 90726a60af https://issues.apache.org/jira/browse/AMQ-6153
Only setting the socketBufferSize in TcpTransport if the value is
greater than 0 as other values are illegal.
2016-02-08 16:13:01 +00:00
Timothy Bish 386210fafe https://issues.apache.org/jira/browse/AMQ-6159
Ensure proper repeat counts are scheduled.
2016-02-04 17:16:58 -05:00
Christopher L. Shannon (cshannon) 33dded13df https://issues.apache.org/jira/browse/AMQ-6036
Slight refactoring to make the WildcardFinder class use a static method
so that we don't have to allocate throw away objects that will
immediately be garbage collected.
2016-02-04 16:53:02 +00:00
Christopher L. Shannon (cshannon) 5eeb62a6be https://issues.apache.org/jira/browse/AMQ-6036
Merging patch, thanks to Patrik Dudits for the fix

This closes #156
2016-02-04 16:09:13 +00:00
Patrik Dudits 278d29dadc https://issues.apache.org/jira/browse/AMQ-6036
Parsing message selector for wildcard matches for ignoreWildcardSelectors feature
2016-02-04 16:51:51 +01:00
Christopher L. Shannon (cshannon) 25ff5699f1 https://issues.apache.org/jira/browse/AMQ-6158
Computing messageSize for a durable subscription in KahaDB now runs much
faster (n vs n^2) which is noticable when there are a large number of
pending messages for a durable subscription.
2016-02-04 15:17:49 +00:00