Commit Graph

8816 Commits

Author SHA1 Message Date
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
Marc Schoechlin ce3939b11f Added help text to give the user a hint how to configure activemq
Conflicts:
	assembly/src/release/bin/env
2015-06-06 15:19:39 +02:00
Marc Schoechlin e52b7dc368 AMQ-5733: return exitcode 0 if stop was sucessful
according to http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
the exitcode should be 0, although this is a abnormal termination way
2015-06-06 15:16:08 +02:00
Timothy Bish af999fe2b2 https://issues.apache.org/jira/browse/AMQ-5303
Resolves issues with the virtual topic subscription strategy especially
when subscribing durably to the Topic portion of a virtual destination.
2015-06-05 18:05:03 -04:00
Timothy Bish 3649f13b81 This closes #105 2015-06-05 14:13:06 -04:00
Christopher L. Shannon (cshannon) ea03bb1f8c https://issues.apache.org/jira/browse/AMQ-5813
Fixing countBeforeFull for TopicSubscriptions to report a positive value
2015-06-05 14:08:15 -04:00
Timothy Bish 11da37b991 https://issues.apache.org/jira/browse/AMQ-5828
Fixed bad default for message persistence that breaks AMQP specification
defined behavior when the durable value is not present in the Header.
2015-06-05 11:21:27 -04:00
Timothy Bish a095e9b9dd https://issues.apache.org/jira/browse/AMQ-5310
Adding tests that validate the code follows the JMS Spec expectations
for behavior of closed consumers and producers.
2015-06-04 17:05:59 -04:00
Timothy Bish 47e954d0f6 https://issues.apache.org/jira/browse/AMQ-5303
Fix for subscription recovery of durable topic subscriptions using
default subscription strategy and subscribing to a VirtualTopic
instance.
2015-06-04 15:14:52 -04:00
gtully 928e815a02 https://issues.apache.org/jira/browse/AMQ-5656 - add support for selective mbean suppression based on objectName attribute match. Avoids mbeanserver contention on systems where producer/consumers/dests are dynamic 2015-06-04 14:27:18 +01:00
Timothy Bish 73d2810c60 Test does not need JMX so disable to avoid clashing with brokers left
running by other tests.
2015-06-03 13:38:01 -04:00
Timothy Bish 848adc4b5d https://issues.apache.org/jira/browse/AMQ-5822
Update the receive counter on reads to avoid dropping connections
wrongly.
2015-06-03 10:10:48 -04:00
Hadrian Zbarcea 9810e61b1b [AMQ-5789] Add support for keystore type (other than jks) 2015-06-02 22:01:35 -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 35b82e5f93 https://issues.apache.org/jira/browse/AMQ-5599
Ensure that persistence adapter start is not missed to avoid infinite
wait for it.
2015-06-02 11:36:47 -04:00
Timothy Bish 73e8d10982 https://issues.apache.org/jira/browse/AMQ-5621
Test cleanup
2015-06-01 18:09:23 -04:00
Timothy Bish df06bdabdc https://issues.apache.org/jira/browse/AMQ-5816
Apply patch from Ievgen Tarasov that ensures that the data locator is
initialized when a MessageId is deserialized.
2015-06-01 17:50:20 -04:00
artnaseef 8095d8eab8 This closes #106
Thank you Mark Frazier.
2015-05-29 16:38:27 -07:00
mfrazier dcc7b11347 AMQ-5713 - making accessors public to remove startup error.
Includes unit test DestinationBridgeAccessorsTest which replicated the problem and now passes.
2015-05-29 16:13:41 -07:00
Timothy Bish 8ca6341d40 https://issues.apache.org/jira/browse/AMQ-5784
Apply patch from Lukas Treyer to address MQTT over WS in Jetty 9
2015-05-28 19:00:20 -04:00
Timothy Bish df8dcb5040 This closes #102 2015-05-28 16:26:56 -04:00
Christopher L. Shannon (cshannon) eece576b19 https://issues.apache.org/jira/browse/AMQ-5792
Adding SubscriptionStatistics to group together all metrics in a bean
for a subscription.
2015-05-28 15:47:30 -04:00