9135 Commits

Author SHA1 Message Date
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
gtully
c17b7fdc7f add trace level log to shared file locker keepAlive 2016-02-04 13:28:59 +00:00
Timothy Bish
8c4b5f485d https://issues.apache.org/jira/browse/AMQ-6152
Ensure that when add / remove commands are colocated they don't prevent
the log from being GC'd once it is unreferenced.
2016-02-02 20:28:24 -05:00
Christopher L. Shannon (cshannon)
5f7a81f928 https://issues.apache.org/jira/browse/AMQ-6142
Fixing a race condition that exists in the decompress method of
ActiveMQBytesMessage that can cause an invalid length to be read.
2016-02-01 17:27:19 +00:00
Christopher L. Shannon (cshannon)
161730fda2 https://issues.apache.org/jira/browse/AMQ-6150
code cleanup
2016-02-01 13:04:07 +00:00
Christopher L. Shannon (cshannon)
9361bc6a0f https://issues.apache.org/jira/browse/AMQ-6150
merging patch to fix casting issues

Thanks for Marc Breslow for the patch

This closes #166
2016-02-01 13:03:01 +00:00
Marc Breslow
4a937def7d Fix Impossible Cast issues in MemoryTopicSub:
- recoverSubscription()
-- map is defined as LinkedHashMap<MessageId, Message>
-- msg is defined as <map> entry.getValue() so must be a Message
-- condition if (msg.getClass() == MessageId.class) could never be true
-- no need to cast at all when using generics

- recoverNextMessages()
-- basically same code copy/pasted so same fix

Removed 2 conditions from ServerSessionPoolImpl that would result in impossible casts. Conditions removed were trying to cast ActiveMQQueueSession and ActiveMQTopicSession to ActiveMQSession which is illegal.

Since it isn't obvious what to do if you get an ActiveMQQueueSession or ActiveMQTopicSession from getServerSession() I make it fall back to the else condition which raises an async exception. This is better than getting a ClassCastException at runtime.

Remove impossible cast in MemoryMessageStore
2016-02-01 12:57:50 +00:00
gtully
5af5b59d3b https://issues.apache.org/jira/browse/AMQ-6151 - respect prioritizeMessages for pending and redelivered messages 2016-02-01 12:19:49 +00:00
Christopher L. Shannon (cshannon)
186b5d0f30 https://issues.apache.org/jira/browse/AMQ-6113
Properly set the X-FRAME-OPTIONS header on web responses.
2016-01-29 21:05:35 +00:00
Christopher L. Shannon (cshannon)
7eb25ec50b Revert "https://issues.apache.org/jira/browse/AMQ-6136"
This reverts commit 4ee29c363fbcc754f69ebc57b45f84a549f7d130.

We need to remove the dependency on Spring DM before doing this
2016-01-29 14:57:11 +00:00