Commit Graph

71 Commits

Author SHA1 Message Date
Christopher L. Shannon (cshannon) c99eb1d600 https://issues.apache.org/jira/browse/AMQ-6418
Properly setting the transport properties on the
AutoNIOSSLTransportServer and fixing the Stomp protocol to set the peer
certs when using auto+ssl

(cherry picked from commit 98c5866c75)
2016-09-06 10:19:20 -04:00
Christopher L. Shannon (cshannon) 679f0cfd31 https://issues.apache.org/jira/browse/AMQ-6414
Changing the nio+ssl transports to trigger a serviceRead after start up
to prevent blocking. The prevents the channels from not reading in
certain cases, most notably with the auto+nio+ssl transport when used
for a network bridge.  Also added a couple tests and changed a network
bridge test to test out auto+nio+ssl.

(cherry picked from commit ed0e786b60)
2016-09-06 10:19:20 -04:00
gtully 3b626c9edc resolve intermittent failure - if broker closes socket on security excepiton before client gets response 2016-05-25 12:51:56 +01:00
Timothy Bish 1263dd8c43 Fix failing test in CI. Subscribe should request receipts so that the
subscription exists prior to initiating the event that triggers the
advisory message sent to the Topic.
2016-05-17 09:59:35 -04:00
Timothy Bish 2a10e9900a https://issues.apache.org/jira/browse/AMQ-5621
Add some additional test cleanup
2016-05-16 13:58:14 -04:00
Timothy Bish 15dc6cc765 https://issues.apache.org/jira/browse/AMQ-6246
Fix loop to not skip the composite split code.
2016-04-13 18:53:28 -04:00
Timothy Bish a9a1498d27 Add assert messages to test that failed in CI 2016-03-31 17:54:48 -04:00
gtully 57264bf8dc https://issues.apache.org/jira/browse/AMQ-6206 - ensure properties are marshalled before dispatch to broker so that their values are reflected in the memory usage 2016-03-09 22:13:46 +00: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 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
Timothy Bish 7525729363 AMQ-6030 Adds some advisory topic specific tests to cover the composite
case for destination advisories.
2015-12-21 16:24:29 -05:00
Timothy Bish c360c3e4a3 AMQ-6030 Add support for composite destinations to STOMP. 2015-10-30 11:02:33 -04:00
Dejan Bosanac e100638244 https://issues.apache.org/jira/browse/AMQ-6013 - init serializable packages statically 2015-10-20 12:30:57 +02:00
Dejan Bosanac a7e2a44fe8 https://issues.apache.org/jira/browse/AMQ-6013 - restrict classes which can be serialized inside the broker 2015-10-16 15:44:23 +02:00
Christopher L. Shannon (cshannon) e14aca871c https://issues.apache.org/jira/browse/AMQ-5889
-Cleaned up missing license headers and refactored packages.
-Added configuration options for a protocol detection timeout and
for the max number of connections accepted at the same time.
-Fixed a regression with connection counts
-Also added some more tests
2015-08-13 14:41:29 +00:00
Christopher L. Shannon (cshannon) 04ee70a161 https://issues.apache.org/jira/browse/AMQ-5889
Adding support for auto detection of wire protocols over a transport.
OpenWire, AMQP, STOMP, and MQTT can all be detected and the broker
will properly handle each one over a given Transport.  Currently
auto TCP, NIO, SSL, and NIO+SSL transports can handle auto-detection
of the wire format and client but support could be added in the
future for other transports like websockets.
2015-08-11 19:39:29 +00:00
Christopher L. Shannon (cshannon) 12b26b641b https://issues.apache.org/jira/browse/AMQ-5745
This commit is based off a patch submitted by admin@int3solutions.com.
It fixes several locations in the code where there are potential resource leaks.
2015-06-30 13:41:48 -04:00
Timothy Bish 2d7280f33a Adds a STOMP based test to cover some inactivity monitor usage over all
four transports.
2015-06-02 17:17:36 -04:00
Timothy Bish f37b005acf https://issues.apache.org/jira/browse/AMQ-5776
Add better support for maxFrameSize configuration that fits with the
defaults configuration for the broker by allowing the maxFrameSize to be
configured via ?wireFormat.maxFrameSize on STOMP, AMQP, and MQTT.
Previously we only supported transport.wireFormat.maxFrameSize.
2015-06-02 15:25:11 -04:00
Timothy Bish 3125caee5b https://issues.apache.org/jira/browse/AMQ-5794
implement transport.connectAttemptTimeout option across the transports
fro OpenWire, STOMP, AMQP and MQTT and add tests to cover.
2015-05-26 12:29:23 -04:00
Timothy Bish 540a66baa1 https://issues.apache.org/jira/browse/AMQ-5621
Cleanup the STOMP tests framework and shorten the test duration by only
using resources in each test that are actually needed, also fixes some
issues with tests that ran a long time just waiting for an end signal.
2015-05-20 19:22:43 -04:00
Timothy Bish aedf4ea5ff https://issues.apache.org/jira/browse/AMQ-5777
Remove unneeded StompConnection instance from the test.
2015-05-19 18:02:45 -04:00
Christopher L. Shannon (cshannon) a7a3c78fd9 Adding maxFrameSize to the Stomp Protocol to be consistent with Openwire.
This applies to  https://issues.apache.org/jira/browse/AMQ-5776
2015-05-19 17:34:52 -04:00
Timothy Bish 551f4fc4e0 https://issues.apache.org/jira/browse/AMQ-5621
The tests no longer need to worry about configuring the scheduler store
as the broker will use an in-memory or kahadb based version depending on
the broker persistence value.
2015-05-19 16:44:13 -04:00
Timothy Bish d2248e92d7 Shorten the test a bit with tigther memory limits which reduces the
amount of messages we need to send to fill and trigger plist store use.
Also add some time to the timeout to account for very slow disk I/O.
2015-04-28 12:19:37 -04:00
Timothy Bish 9ef4259297 https://issues.apache.org/jira/browse/AMQ-5616
Use ConcurrentMap in declarations
2015-04-28 11:15:08 -04:00
Timothy Bish 25c99a6c36 https://issues.apache.org/jira/browse/AMQ-5707
Add support for aborting a slow AMQP consumer and some testing.
2015-04-07 10:32:49 -04:00
Timothy Bish 4fe2bd534a https://issues.apache.org/jira/browse/AMQ-5622
Fix some issues with STOMP v1.2 protocol support.
2015-03-02 16:12:44 -05:00
Timothy Bish 388c16d084 https://issues.apache.org/jira/browse/AMQ-5590
Reduce test time, add timeouts etc.
2015-02-16 18:50:24 -05:00
Timothy Bish 8d4234345b https://issues.apache.org/jira/browse/AMQ-5573
Allow configuration of max size of STOMP command body via
transportConnector option transport.maxDataLength
2015-02-11 13:41:04 -05:00
gtully bae0e60a7c fix intermittent failure 2015-01-27 15:50:56 +00:00
gtully 1e5d212768 https://issues.apache.org/jira/browse/AMQ-5513 - fix stomp regression - dependency on redelivered flag between stomp and jms is tenuous - but can be reliable via policy as shown 2015-01-27 15:38:16 +00:00
Timothy Bish 52d95ee01c https://issues.apache.org/jira/browse/AMQ-5423
Ensure that pendingAcks map is cleaned up either on a single message ACK
/ NACK or on TX commit or rollback
2014-11-05 15:32:55 -05:00
Timothy Bish 533cedc4fc https://issues.apache.org/jira/browse/AMQ-5220
Fixes empty message bodies from responses to statistics plugin queries
over the STOMP transport. 

This closes #41
2014-08-07 14:18:40 -04:00
Daniel Kulp 7fe431b21f Cleanup in ConnectTest to do two things:
1) connect/disconnect 500 (which still seems high) times instead of as many as possible in 25seconds.  On fast machines, this is MUCH faster.
2) Actually call Thead.start(), not Thread.run() in cases where it should be on a background thread.
2014-07-10 15:28:43 -04:00
Timothy Bish 0fdd4611a0 Fix the getProxyToTopic method. 2014-06-24 14:24:39 -04:00
Hadrian Zbarcea 3845aaa43b Ignore crashing test in stomp, improve test timing 2014-04-29 15:17:17 -04:00
Timothy Bish fdc2551eb8 https://issues.apache.org/jira/browse/AMQ-5159
Fix an NPE condition
2014-04-23 11:34:17 -04:00
Timothy Bish c3d8ca7160 https://issues.apache.org/jira/browse/AMQ-5078 2014-02-27 10:01:49 -05:00
Timothy Bish 5e5458ec38 https://issues.apache.org/jira/browse/AMQ-3388
ignore unknown fields in openwire commands to allow interop between
openwire versions.
2013-11-13 10:36:53 -05:00
Hiram Chirino f7311567a0 Fixes https://issues.apache.org/jira/browse/AMQ-4840 - Invalid STOMP frame sent on websocket connections with heartbeats. 2013-10-30 13:55:55 -04:00
Timothy Bish c7d33ad5e4 Logging cleanup, don't need all the if checks, use string substitution
more effectively.
2013-09-19 15:19:24 -04:00
Timothy Bish 8320e66b5d Fixes https://issues.apache.org/jira/browse/AMQ-4704 2013-09-03 11:50:52 -04:00
gtully 634a81898c https://issues.apache.org/jira/browse/AMQ-4682 - use spring.schemas for spring.xsd resolution - use brokerContext for configurationurl, support property PropertyPlaceholderConfigurer locations and system prop replacement, nested networkConnector elements - excludedDestinations,dynamicallyIncludedDestinations etc. lists and sets of destination 2013-09-03 00:28:46 +01:00
Timothy A. Bish 174fe15b30 fix for: https://issues.apache.org/jira/browse/AMQ-4676 and https://issues.apache.org/jira/browse/AMQ-4673
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1517052 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 21:27:27 +00:00
Timothy A. Bish 53ec6655b0 fix https://issues.apache.org/jira/browse/AMQ-4674 don't apply grace twice.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1515908 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 18:12:33 +00:00
Timothy A. Bish 4e4d072d6e fix and add test for: https://issues.apache.org/jira/browse/AMQ-4686
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1515843 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 15:22:05 +00:00
Timothy A. Bish d0ab117a38 fix: https://issues.apache.org/jira/browse/AMQ-4674
add transport options "?transport.hbGracePeriodMultiplier" which is used to add a user defined grace period to the read check interval indicated by the connecting STOMP client. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1514023 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 20:19:06 +00:00
Timothy A. Bish 7e28d2a948 https://issues.apache.org/jira/browse/AMQ-4678
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1513609 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 18:31:42 +00:00