Commit Graph

8537 Commits

Author SHA1 Message Date
Timothy Bish 276ef15024 remove a warning. 2015-02-26 15:23:26 -05:00
Timothy Bish 240278dbef https://issues.apache.org/jira/browse/AMQ-5617
Consolidate remaining dirct JMS client type usages to the context.
Rename some tests so be consistent.
2015-02-26 15:22:45 -05:00
Timothy Bish 8f0bf6060a https://issues.apache.org/jira/browse/AMQ-5617
Refactor as a general test case that covers the scenario accross all the
transport types.
2015-02-26 15:06:16 -05:00
Timothy Bish 4fa420bbd1 https://issues.apache.org/jira/browse/AMQ-5617
Absorbe these into the general JMSClientTest that covers all four
transport types.
2015-02-26 14:48:57 -05:00
Timothy Bish 12202c9702 https://issues.apache.org/jira/browse/AMQ-5617
Rename these and move to the general tests folder as they cover specific
use cases that are applicable beyond the issue the were created for.
2015-02-26 14:47:12 -05:00
Timothy Bish 7a8085c0a4 https://issues.apache.org/jira/browse/AMQ-5617
Remove this older test as the test in JMSClientTest ->
testProduceConsumer covers this accross all four transport variants.
2015-02-26 14:35:51 -05:00
Timothy Bish 79568f16cc https://issues.apache.org/jira/browse/AMQ-5621
Cleanup a couple to show what can be done to reduce test time.
2015-02-26 14:27:34 -05:00
Timothy Bish f00d2fbde4 Remove the AMQ option from the PersistenceAdapterChose enum as that one
is long gone.
2015-02-26 10:40:18 -05:00
Timothy Bish 36bd069e8f https://issues.apache.org/jira/browse/AMQ-5617
First pass removes most direct usages of the qpid client bits and cleans
up some tests so that they all start to use the common test support
class features.
2015-02-25 21:16:33 -05:00
Timothy Bish f988ca6e49 https://issues.apache.org/jira/browse/AMQ-5615
reorganize the connection response code to only pump once all state is
process.
2015-02-25 10:17:40 -05:00
gtully 0142c4dc89 https://issues.apache.org/jira/browse/AMQ-5614 - additional expiration attribute on dead letter strategy and tests 2015-02-25 14:32:43 +00:00
gtully be919fbc94 https://issues.apache.org/jira/browse/AMQ-4483 - rework to use destination option to indicate dlq, dlq strategy is typically not in place for dlq dests, option is set when a dlq is first used via region broker sendTodlq, fix and tests 2015-02-25 14:32:43 +00:00
Timothy Bish 441973b483 Bump logging to see if we can tell why the session commit hangs in the
transacted consumer test.
2015-02-24 13:34:12 -05:00
Timothy Bish 02dc6ce982 Clean up some tests, reduce resources used and reduce runtime, convert
to JUnit 4 when possible and add timeouts.
2015-02-23 19:53:14 -05:00
Timothy Bish 05b401993b Clean up the test, use more sensible waits and don't create JMX
connectors since not needed, reduces runtime by one third.
2015-02-23 17:18:12 -05:00
gtully 85b9c81a3f https://issues.apache.org/jira/browse/AMQ-5229 - implement ability to pause/resume dispatch of message to all consumers of a queue 2015-02-23 21:41:33 +00:00
Robert Gemmell 1406d40ac3 AMQ-5608: dont NPE during authentication attempt if no users were defined for the SimpleAuthenticationPlugin
https://issues.apache.org/jira/browse/AMQ-5608
2015-02-23 17:42:17 +00:00
Timothy Bish 101b7123fa https://issues.apache.org/jira/browse/AMQ-5607
Some cleanups of the tests to speed things up.
2015-02-20 19:24:46 -05:00
Timothy Bish a2b78fdeb0 https://issues.apache.org/jira/browse/AMQ-5604
Clean up test start / stop to streamline things and make the tests run
at a bit more reasonable speed.
2015-02-20 11:42:03 -05:00
Christian Posta 2c92c34132 Fix for https://issues.apache.org/jira/browse/AMQ-5551 The DiskBenchmark util doesn't sync (fsync) to disk for sync writes 2015-02-20 09:23:12 -07:00
Timothy Bish 4c272e3081 Should just be turning off the connector not just the bean server. 2015-02-20 10:15:02 -05:00
gtully 2949e8dbf7 https://issues.apache.org/jira/browse/AMQ-5578 - remove timing deps from the test 2015-02-20 12:03:12 +00:00
Christian Posta 023b2ac045 Updated for https://issues.apache.org/jira/browse/AMQ-5578 adds unit tests, logging, and removes the preallocated batch stuff that snuck in there with commit 45e59e6e83 which was by accident. 2015-02-19 16:34:32 -07:00
Robert Gemmell 37b1b6a211 AMQ-5592: remove some unused stale functionlity, bring into line with latest missed commits from current almost-0.9 codebase.
https://issues.apache.org/jira/browse/AMQ-5592
2015-02-19 20:00:03 +00:00
Christian Posta 45e59e6e83 adding options for https://issues.apache.org/jira/browse/AMQ-5578 to
allow configuring the allocation strategy at finer grained controls
including zeroing out, OS copying, or sparse file
2015-02-19 10:49:40 -07:00
Timothy Bish 8858dc294c https://issues.apache.org/jira/browse/AMQ-5596
Remove the deprecated JMS Streams code.
2015-02-18 15:47:40 -05:00
Timothy Bish e6597c4604 https://issues.apache.org/jira/browse/AMQ-4441
Cleanup the test suite, disble unused broker features and add timeouts
etc.
2015-02-18 12:55:54 -05:00
Dejan Bosanac 05c3112402 https://issues.apache.org/jira/browse/AMQ-5594 - virtual topics and wildcards 2015-02-18 18:29:20 +01:00
Timothy Bish 141ad4cb8f Reduce test time by disabling the unneeded broker features. 2015-02-17 16:41:02 -05:00
Timothy Bish 6e69319606 https://issues.apache.org/jira/browse/AMQ-5592
Initial drop of the JMS transformer code to be reworked.
2015-02-17 15:42:45 -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 94937e855a https://issues.apache.org/jira/browse/AMQ-5589
Reduce the overall time to run the AMQP tests
2015-02-16 16:47:12 -05:00
Timothy Bish 8b36701fc3 https://issues.apache.org/jira/browse/AMQ-5587
Add a connect check in the inactivity monitor to account for opened
connections that might drop but not be spotted, in the case where the
connect frame is lost this can lead to connections that aren't fully
opened and won't be cleaned up until the broker detects the socket has
failed.

By default the connection timer is set to 30 seconds, if no connect
frame is read by then the connection is dropped.  The broker can be
configured via the 'transport.connectAttemptTimeout' URI option, a value
2015-02-13 17:07:33 -05:00
Dejan Bosanac 1cab713864 https://issues.apache.org/jira/browse/AMQ-5585 - move messages on memory limit 2015-02-13 15:16:52 +01:00
gtully db084ef776 fix AMQ1936Test,AMQ2021Test timeouts - hitting unnecessary 1s wait on shutdown command completion 2015-02-13 12:01:50 +00:00
gtully b60bfbbeb4 Revert "rework https://issues.apache.org/jira/browse/AMQ-3684 and https://issues.apache.org/jira/browse/AMQ-4532 to avoid intermittent hangs, processing shutdown wile shutdown is in progress - AMQ1936Test and AMQ2021Test - using just TransportDisposedIOException to propagate exception response and start shutdown process and ignoring broker side for logging"
This reverts commit 8cf98a070f.

seems there are a bunch of network tests that don't conform with the new approach - back to the drawing board
2015-02-12 18:00:58 +00:00
Dejan Bosanac 7d14ddb0d1 https://issues.apache.org/jira/browse/AMQ-5558 - make activemq-all jar executable 2015-02-12 11:35:23 +01:00
Timothy Bish 2b17fd8050 https://issues.apache.org/jira/browse/AMQ-5580
Use a CopyOnWriteArrayList to ensure that traversals of the adapters
list do not generate ConcurrentModificationException if a new adapter is
added during that time.
2015-02-11 17:22:26 -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 07338e7553 https://issues.apache.org/jira/browse/AMQ-5520 - fix org.apache.activemq.spring.SpringTest.testSenderWithSpringXmlEmbeddedPooledBrokerConfiguredViaXml regression 2015-02-11 15:51:55 +00:00
gtully 25376afac1 reduce test duration, relax derbydb durability - AMQ5266SingleDestTest 2015-02-11 15:27:45 +00:00
gtully 95f7262cb1 https://issues.apache.org/jira/browse/AMQ-5578 - implement for kahadb 2015-02-11 13:37:32 +00:00
gtully 8cf98a070f rework https://issues.apache.org/jira/browse/AMQ-3684 and https://issues.apache.org/jira/browse/AMQ-4532 to avoid intermittent hangs, processing shutdown wile shutdown is in progress - AMQ1936Test and AMQ2021Test - using just TransportDisposedIOException to propagate exception response and start shutdown process and ignoring broker side for logging 2015-02-11 13:37:32 +00:00
gtully c6837acefe tidy up some jdbc directory usage - move into target 2015-02-11 13:37:32 +00:00
Dejan Bosanac 01d0155149 https://issues.apache.org/jira/browse/AMQ-5558 - enable producer/consumer commands in karaf 2015-02-11 12:42:46 +01:00
Dejan Bosanac 35683c1c1c Upgrade dependencies 2015-02-11 11:40:37 +01:00
gtully 3155c625c6 https://issues.apache.org/jira/browse/AMQ-5567 - fix and test - issue was eager dispatch with concurrent sends, recovery and outcome delivery now assign a new sequence id to message additions which sorts sequence order in the xa case 2015-02-06 12:56:29 +00:00
Timothy Bish f91abd3d46 https://issues.apache.org/jira/browse/AMQ-5564
Fixed session in the pool losing their reference to the anonymous
producer created when useAnonymousProducers is true.  The anonymous
producer stays live for the life of the pooled session.

Also added some synchronization safety to some methods that could get
into NPE trouble.
2015-02-05 17:50:43 -05:00
Dejan Bosanac 9f0ab46e29 https://issues.apache.org/jira/browse/AMQ-5558 - add producer/consumer commands 2015-02-05 13:58:31 +01:00
gtully b0a1bd833c https://issues.apache.org/jira/browse/AMQ-5542 fix (via revert below) and test case applied with thanks.
Revert "resolve https://issues.apache.org/activemq/browse/AMQ-2736, logic issue in code that keeps data files with acks around pending message file gc. thanks jgenender - test case to follow"

This reverts commit dd68c61e65.

resolves: https://issues.apache.org/jira/browse/AMQ-5542 and applies test case that nicely demonstrates the defect, thanks
2015-02-02 11:34:06 +00:00