Commit Graph

8838 Commits

Author SHA1 Message Date
gtully da3174cf98 ensure data dir is empty for test as derby needs clean dir 2015-06-19 12:36:32 +01:00
gtully e3a72cfa1d add sanity test for masterslave scheme for networkconnectors 2015-06-19 12:36:32 +01:00
Timothy Bish cd32c60f39 https://issues.apache.org/jira/browse/AMQ-5850
Use JMS Transformer by default for inter-protocol interoperability.
2015-06-18 15:00:12 -04:00
Timothy Bish 833d30837b https://issues.apache.org/jira/browse/AMQ-5848
Introduce OpenWire v11 which adds noLocal to the SubscriptionInfo, if
configured KahaDB can store that version and the noLocal value is
recovered from the store.
2015-06-18 14:25:07 -04:00
Timothy Bish 1e8621fede This closes #116 2015-06-17 19:10:31 -04:00
Christopher L. Shannon (cshannon) b40dc4cc54 https://issues.apache.org/jira/browse/AMQ-5668
This commit fixes a race condition in AbstractStoreCursor setLastCacheId that could
cause a null pointer exception in certain cases.
2015-06-17 19:09:53 -04:00
Timothy Bish 829e6fb0eb This closes #117 2015-06-17 17:15:50 -04:00
Christopher L. Shannon (cshannon) fc3e026122 https://issues.apache.org/jira/browse/AMQ-5705
Modifing the AdivsoryBroker to set the originBrokerURL to the transport connector's
URL if it has been set versus using a default URL.
2015-06-17 17:47:24 +00:00
gtully 428fc82c8c AMQ5266Test can take 8mins locally - exclude from quick tests 2015-06-17 15:04:29 +01:00
gtully d5c25c027b disable periodic expiry b/c that will page in and effect the usage assertions if the test lasts for more than 30s. read ci 2015-06-17 14:33:32 +01:00
gtully 38f7857533 bring some more consistency to derby usage and log nested exceptions on create failure 2015-06-17 14:30:25 +01:00
gtully 6cf9a8a9a5 ci disks seem to be really slow on force, increasing timeout and decreasing load on this test 2015-06-17 14:30:25 +01:00
Jean-Baptiste Onofré 471911466b [AMQ-5770] Remove javax.servlet.resources package import allowing web console to work with Karaf 2.4.x, 3.x, and 4.x 2015-06-17 11:13:48 +02:00
Timothy Bish ed266835b5 https://issues.apache.org/jira/browse/AMQ-5847
Add workarounds to allow for TX work to take place in multiple sessions
on the same connection.  Future work needed to properly support TXN
Capabilities defined in the spec and support checking of violations of
expected behavior.
2015-06-16 16:41:18 -04:00
Timothy Bish 7b5c8be377 This closes #115 2015-06-16 13:37:08 -04:00
Christopher L. Shannon (cshannon) edacc2a840 https://issues.apache.org/jira/browse/AMQ-5843
Adding a new property on PolicyEntry called includeBodyForAdvisory which will
include the original message body when sending advisory messages that include
the original message, instead of clearing it out.  This is turned off by
default.
2015-06-16 12:48:38 -04:00
Timothy Bish 540d8c7079 Turn off expired message processing during this test, the browse for
expired message can trip the limits that this test expects to end up
with which is not what is being tested here.
2015-06-16 12:35:17 -04:00
gtully ffef4dc5fa https://issues.apache.org/jira/browse/AMQ-5844 - patch and test applied with thanks to Ganesh Murthy - ganeshmurthy 2015-06-16 15:54:11 +01:00
gtully 1787edaf3e https://issues.apache.org/jira/browse/AMQ-5724 - fix up mbean object name property clashes and attribute selection. add --invoke flag to invoke simple mbean operations with void or string params, Additional test that verifies help suggestions 2015-06-16 15:04:13 +01:00
gtully 1b08858a37 reduce test duration - v.slow for 60k messages of size 30k -resuce to ~30s b/c it was excceeding 10mins - large linear work load not great for leveldb 2015-06-16 15:04:13 +01:00
Timothy Bish c2310391b9 https://issues.apache.org/jira/browse/AMQ-5845
provide server information in connection properties.
2015-06-15 18:38:12 -04:00
Andy Taylor 151e25117b https://issues.apache.org/jira/browse/AMQ-5400
improved the patch because of some test failures
2015-06-15 16:28:44 +01:00
Timothy Bish 33fb7c6096 https://issues.apache.org/jira/browse/AMQ-5621
Have the test store its data in the target folder to let the clean step
remove it and attempt to remove the data folder between runs to avoid
state derby instances.
2015-06-15 10:18:28 -04:00
Timothy Bish 1d0f0d541a https://issues.apache.org/jira/browse/AMQ-5606
Move to v0.3.0
2015-06-15 09:10:21 -04:00
Dejan Bosanac e2221e31fa https://issues.apache.org/jira/browse/AMQ-5841 - activemq script returns a non zero exit code for successful operations 2015-06-15 12:30:13 +02:00
Timothy Bish 732fd56840 https://issues.apache.org/jira/browse/AMQ-5839
Disable failing test, broker doesn't currently recover the noLocal state
for a durable subscription.
2015-06-12 16:43:34 -04:00
Timothy Bish 4945c83d70 https://issues.apache.org/jira/browse/AMQ-5839
Use correct name for the no-local filter
2015-06-12 16:11:55 -04:00
Timothy Bish d74c087134 Add a negative validation test. 2015-06-12 15:39:17 -04:00
Timothy Bish d723d14acb Add some additional control over what is configured on the running
broker.
2015-06-12 14:26:55 -04:00
Timothy Bish 8cc5f597d9 This closes #111 2015-06-12 11:58:22 -04:00
Christopher L. Shannon ab389684be https://issues.apache.org/jira/browse/AMQ-5836
Modifying start up scripts to consistently use the same property names
2015-06-12 11:50:44 -04:00
Timothy Bish f74e3c1146 This closes #110 2015-06-12 10:45:48 -04:00
Christopher L. Shannon (cshannon) 61fd811adc https://issues.apache.org/jira/browse/AMQ-5393
Adding a property called schedulePeriodForDiskUsageCheck which can be set
to a time period to periodically check disk usage limits and adjust if
the amount of disk space has been reduced.
2015-06-12 10:35:20 -04:00
gtully f45ce09655 fix incorrect warn message about lease duration and keep alive 2015-06-12 12:26:06 +01:00
Timothy Bish ce16735bb0 Test needs more wait time on redelivery check since the initial
redelivery delay is 4 seconds and the sleep was only 3s + 500ms receive.
2015-06-10 18:21:31 -04:00
Timothy Bish 789eb9abf9 https://issues.apache.org/jira/browse/AMQ-5834
Ensure that a publish receives an ACK even when the user is not
authorized to write to the target destination
2015-06-10 14:59:02 -04:00
gtully 3100909041 https://issues.apache.org/jira/browse/AMQ-5830 - ensure duplex inbound connection sets network=true flag, fix and test 2015-06-09 12:19:49 +01:00
Timothy Bish 062b0c2c08 This closes #97 2015-06-08 17:10:19 -04:00
Christopher L. Shannon (cshannon) 886e2d4d97 Adding a configuration option to PolicyEntry to enable setting the maximum number of created destinations by policy on the broker.
This resolves https://issues.apache.org/jira/browse/AMQ-5751
2015-06-08 16:00:08 -04:00
Timothy Bish eaf5c12151 Add test to assert that preconditions are met before moving on to the
rest of the checks.
2015-06-08 14:11:24 -04:00
Andy Taylor 67c28b1c68 https://issues.jboss.org/browse/ENTMQ-780
A couple of tests to add to the patch provided
2015-06-08 15:53:48 +01:00
Andy Taylor c9a3202bc3 https://issues.jboss.org/browse/ENTMQ-780
pauses the delivery of messages to the activemq session when a rollback is happening until the message has been redelivered.

patch applied with thanks to Tamas Cserveny
2015-06-08 15:51:44 +01:00
Marc Schoechlin aeb93e4a24 improve stability
- added more reliable quoting
- improved reliability of stopping
- improved management of concurrent stop processes
- added a "kill" option which terminates the daemon in a rude way
2015-06-06 17:02:31 +02:00
Marc Schoechlin a767bda603 Memory configuration
Reduce the default memory minimal overhead of activemq from 1G to 64M to
ensure that activemq does not revoke to work in small environments.
If a larger process heap than 64M is needed the jvm grows up to 1GB.

Conflicts:
	assembly/src/release/bin/env
2015-06-06 15:24:37 +02:00
Marc Schoechlin 07920b2534 minor stabilisation patches
This commit adds:
- some quoting of variables to prevent problems with unusual paths
- sets some default variables to prevent problems
- adds some function and helptext documentation
2015-06-06 15:23:11 +02:00
Marc Schoechlin 250bc9ea95 stop behavior
fix bug caused by a uncomplete change which renames the pidfile for a
running shutdown task
2015-06-06 15:23:04 +02:00
Marc Schoechlin 0eb45b434d create a pidfile for a console run
this adds a pidfile which contains the pid of the running shellscript if
activemq is run by "console". This prevents problems if someone tries to
to use i.e. the start/stop options while some is debugging activemq in
foreground mode.
2015-06-06 15:22:08 +02:00
Marc Schoechlin 02a94143db check status of running status
This adds a better output for some tasks if the broker is not running.
The user gets the information that the broker is currently not running.
Users are confused if they see a java stacktrace on invoking commands -
often they do not read error output in detail.
This change respects that the script can also be used to contact remote
brokers - if ACTIVEMQ_QUEUEMANAGERURL is defined you get the regular
stacktrace, because the script cannot know about the state if a remote
broker.
In >98% of all cases this script controls local instances - we should
help the common user!
2015-06-06 15:22:02 +02:00
Marc Schoechlin dd647f98a5 provide the real exitcodes
provide the exitcode of the task to the user
2015-06-06 15:21:51 +02:00
Marc Schoechlin ea5f4de399 Minor improvment
Conflicts:
	assembly/src/test/scripts/init-script-testsuite
2015-06-06 15:21:01 +02:00