Commit Graph

3124 Commits

Author SHA1 Message Date
Clebert Suconic 972f846f01 This closes #1007 2017-02-14 20:17:23 -05:00
Howard Gao f6670c9aaf ARTEMIS-958 Improve web server tmp dir cleanup
When server is shutdown by user the shutdown hook will check
if the tmpdir of the web server is cleaned up. However the cleanup
is also performed in a shutdown hook (using File.deleteOnExit).
Because the order of execution of hooks is not guaranteed,
if the tmp dir is not cleaned up by the time of check,
we should add a 'force' delete to make sure the tmp dir
is removed after server stop.
2017-02-14 20:17:23 -05:00
Justin Bertram 8938c26cc0 This closes #1013 2017-02-14 11:45:26 -06:00
Jeff Mesnil 992dc2bc1b [ARTEMIS-963] Prevent ClassCastException in ActiveMQChannelHandler
When HTTP Upgrade is enabled, update Netty's pipeline only after the
HTTP Upgrade handshake is successful *and* the trailing
EMPTY_LAST_CONTENT is received.
Otherwise, this EMPTY_LAST_CONTENT is handled by
ActiveMQChannelHandler which is only expected to handle ByteBuf

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-963
2017-02-14 11:45:26 -06:00
Justin Bertram db2c711e24 This closes #1012 2017-02-14 11:27:51 -06:00
Andy Taylor d4790f00ba ARTEMIS-962 - improve the OpenMBean support for browsing
https://issues.apache.org/jira/browse/ARTEMIS-962
2017-02-14 11:27:51 -06:00
Justin Bertram ab48344ac3 This closes #1011 2017-02-14 11:26:55 -06:00
Martyn Taylor bd1f244dfc NO-JIRA Clean up around MQTTConnectionManager 2017-02-14 11:26:54 -06:00
Martyn Taylor 3bd5c9df6a ARTMEIS-958 Route Will message outside server session 2017-02-14 11:26:54 -06:00
Martyn Taylor 59773c2849 ARTEMIS-960 Do not encode Will messages 2017-02-14 11:26:54 -06:00
Justin Bertram 1da69fa5e2 This closes #1010 2017-02-14 11:24:26 -06:00
Jiří Daněk 27d739b47e ARTEMIS-504 update slow-consumer-check-period documentation 2017-02-14 11:24:26 -06:00
Justin Bertram beecb356bd This closes #1015 2017-02-14 10:57:39 -06:00
Christopher L. Shannon (cshannon) 0fdf44fb62 ARTEMIS-964 Moving shared XML logic
https://issues.apache.org/jira/browse/ARTEMIS-964

Moving XML conversion logic to a common XmlDataExporterUtil class so it
can be used elsewhere.
2017-02-14 11:29:29 -05:00
Clebert Suconic c0c4859215 This closes #1008 2017-02-13 12:02:30 -05:00
Justin Bertram 150a5916cd ARTEMIS-953 fix examples 2017-02-13 09:51:31 -06:00
Justin Bertram ff3e75d148 NO-JIRA move RoutingType to different package 2017-02-13 09:50:41 -06:00
Clebert Suconic 2cf594adf7 This closes #1006 2017-02-10 09:55:58 -05:00
Martyn Taylor b8595d610d ARTEMIS-957 Use setBytes JDBC API vs Concat BLOB 2017-02-10 09:55:57 -05:00
Clebert Suconic 152b929b5a This closes #1004 2017-02-10 09:55:01 -05:00
Andy Taylor c3436a36a0 NO-JIRA: fix typo on the cli
./artemis help was returning "exp" twice on the
2017-02-10 09:53:56 -05:00
Andy Taylor 318778954d ENTMQBR-522 - dont ack on separately settled deliveries
https://issues.jboss.org/browse/ENTMQBR-522
2017-02-10 09:50:51 -05:00
Clebert Suconic 42588fbac4 This closes #1003 2017-02-09 19:40:15 -05:00
Clebert Suconic 452330153e NO-JIRA: MessageImpl::forceCopy is no longer used 2017-02-09 19:39:54 -05:00
Andy Taylor 8a88a56693 This closes #1002 gitkMqtt ack clean session 2017-02-09 11:36:13 +00:00
Martyn Taylor cd28d76554 ARTEMIS-951 Auto Commit MQTT Acks 2017-02-09 10:43:03 +00:00
Martyn Taylor b2e250d425 ARTEMIS-952 Remove MQTT Queues on Clean Session 2017-02-09 10:43:03 +00:00
Clebert Suconic 20737cb432 This closes #1001 2017-02-08 18:12:33 -05:00
Justin Bertram 19b992399c ARTEMIS-954 update create command doc 2017-02-08 18:12:33 -05:00
Clebert Suconic 53673702fe This closes #1000 2017-02-08 18:12:12 -05:00
Justin Bertram 2bda3b2b4f ARTEMIS-953 Refactor JMX ObjectNames 2017-02-08 15:00:20 -06:00
Clebert Suconic ede37f5cd1 This closes #999 2017-02-08 11:54:33 -05:00
xstefank 2e144a8525 ARTEMIS-950 Change log level from INFO to WARN
the system was logging INFO to the "Invalid "host" value "0.0.0.0"
message, This is changing it to WARN
2017-02-08 11:54:33 -05:00
Clebert Suconic 0d2cd3b721 This closes #998 2017-02-08 10:32:58 -05:00
Howard Gao 1a3fdd0916 ARTEMIS-949 Prevent Openwire from closing consumer twice 2017-02-08 15:57:43 +08:00
Clebert Suconic aac21ce165 This closes #996 2017-02-07 17:09:46 -05:00
Clebert Suconic 235b9082d8 NO-JIRA: speeding up ArtemisTest
Before this change tests could take a long time on certain laptops.
We don't need to perform the auto-tune journal for these tests.
2017-02-07 17:09:46 -05:00
Clebert Suconic ba784281d0 This closes #997 2017-02-07 17:03:48 -05:00
Justin Bertram f5599c6630 ARTEMIS-947 reload <addresses> on broker.xml change 2017-02-07 13:45:24 -06:00
Clebert Suconic a39b9e55e7 This closes #994 2017-02-07 10:34:25 -05:00
Justin Bertram 68ac7d9668 ARTEMIS-939 reload security credentials by default 2017-02-07 10:34:25 -05:00
Martyn Taylor 8c77e25163 This closes #993 2017-02-07 14:46:35 +00:00
Andy Taylor f268c101af ARTEMIS-944 - Broker can't convert AMQP python message to Openwire format
https://issues.apache.org/jira/browse/ARTEMIS-944
2017-02-07 14:02:20 +00:00
Andy Taylor d937e8a8e1 ARTEMIS-945 - fix test and queue delete
https://issues.apache.org/jira/browse/ARTEMIS-945
2017-02-07 14:01:15 +00:00
Martyn Taylor 0df002597f This closes #987 2017-02-07 13:47:03 +00:00
Andy Taylor 43a9276484 ARTEMIS-866 - replication improvements
add functionality to allow live to vote for quorum on failure

Also allow the quorum size to be configurable.

https://issues.apache.org/jira/browse/ARTEMIS-866
2017-02-07 13:47:03 +00:00
Martyn Taylor 7e5ada897e This closes #840 2017-02-07 13:45:12 +00:00
Timothy Bish b9bf5d54f2 ARTEMIS-794 Add tests for handling of various outcomes for deliveries
Adds tests for handling of Rejected, Released and Modified outcomes for
a delivery sent to a receiver.  Tests show that for the Modified outcome
the broker is redelivering the message to the same receiver when the
undeliverable here value is set which violates the AMQP 1.0 specified
handling of that field.  Also for Rejected outcome the broker should
be sending the rejected message to the DLQ as Rejected is supposed to
be a terminal outcome.

Small fix included to not adjust the delivery count if the Modified
outcome does not indicate that the delivery failed.
2017-02-07 13:45:11 +00:00
Martyn Taylor 78a8a23523 This closes #991 2017-02-07 11:05:52 +00:00
Jeff Mesnil dd052026e6 [ARTEMIS-931] Fix HTTP Upgrade Connection
* Fix isEquivalent() method to take into account the activemqServerName
  property when httpUpgradeEnabled is true. Two ActiveMQ server hosted on
  the same app server may have the same host and port (corresponding to
  the Web server HTTP port). The activemqServerName property is used to
  distinguish them.
* Iron out HTTP upgrade handler so that the latch is always count down
  and the channel context is closed unless the handshake was completed
  successfully

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-931
2017-02-07 10:03:36 +01:00