Commit Graph

3279 Commits

Author SHA1 Message Date
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
Clebert Suconic 0222b767a4 This closes #990 2017-02-06 16:29:44 -05:00
Justin Bertram 15d693dd4e ARTEMIS-943 update/doc XML import/export 2017-02-06 15:09:55 -06:00
Justin Bertram ca6beb16c1 This closes #988 2017-02-06 13:33:27 -06:00
Martyn Taylor 3900cb0ec7 ARTEMIS-917 Only return body of retained message after reboot 2017-02-06 13:33:26 -06:00
Clebert Suconic 36aef22d02 This closes #984 2017-02-06 11:00:06 -05:00
Francesco Nigro 807dbf9051 ARTEMIS-938 JDBC persistence-store should use BIGINT type for IDs in database tables 2017-02-06 11:00:05 -05:00
Clebert Suconic ee9e717b51 NO-JIRA: typo on doc for example 2017-02-03 23:31:03 -05:00
Clebert Suconic 781e5e64a4 NO-JIRA: Adding .net example 2017-02-03 23:22:52 -05:00
Clebert Suconic c60c92697f ARTEMIS-937 no sync on AIO shouldn't use O_DIRECT 2017-02-03 11:47:28 -05:00
Clebert Suconic 1ac6354990 ARTEMIS-935 sync option on NIO 2017-02-03 11:19:55 -05:00
Martyn Taylor 03a999e39d This closes #985 2017-02-03 14:29:37 +00:00
Clebert Suconic c039aae37f ARTEMIS-906 Adding Paging tests for mapped journal 2017-02-03 09:04:57 -05:00
Francesco Nigro aacddfda61 ARTEMIS-906 Memory Mapped JournalType 2017-02-03 09:04:57 -05:00
Clebert Suconic ef8cb60df7 NO-JIRA Fixing deadlock on JDBCJournal::stop / sync methods 2017-02-03 09:04:57 -05:00
Clebert Suconic ce035a8084 ARTEMIS-937 Implementing proper alignment and adding perf-journal tool to validate the journal syncs 2017-02-03 09:04:56 -05:00
Clebert Suconic 57038ff47e This closes #982 2017-02-01 09:49:48 -05:00
Justin Bertram 1752814197 ARTEMIS-922 implement purge semantics 2017-01-31 08:37:05 -06:00
Clebert Suconic 35415510df NO-JIRA: Fixing hanging testsuite 2017-01-31 09:11:50 -05:00
Clebert Suconic b4b8c583b5 NO-JIRA Logging integration-tests/DEBUG is being too verbose on the testsuite 2017-01-30 22:26:48 -05:00
Clebert Suconic 57945d97e9 NO-JIRA: fixing a test 2017-01-30 16:08:38 -05:00
Clebert Suconic 3480cc7104 This closes #980 2017-01-29 22:07:55 -05:00
Clebert Suconic cc3fd11df2 ARTEMIS-935 Sync tool 2017-01-29 22:07:55 -05:00
Clebert Suconic 2e5f458209 This closes #978 2017-01-27 15:45:33 -05:00
Howard Gao 5f3159f4c8 ARTEMIS-932 2 brokers can be started using the same store 2017-01-27 15:45:32 -05:00
Clebert Suconic fb4bc063f1 This closes #979 2017-01-26 00:00:38 -05:00
Clebert Suconic f79b21e866 ARTEMIS-934 Stomp Heart beat not being stopped in some cases 2017-01-25 12:17:47 -05:00
Clebert Suconic 98f6fa7607 This closes #977 2017-01-20 13:50:58 -05:00
Justin Bertram a138a27adb NO-JIRA de-duplicate class 2017-01-20 12:07:14 -06:00
Clebert Suconic 5edf940ed0 This closes #975 2017-01-20 09:54:30 -05:00
Jeff Mesnil 5a59cd19f8 [ARTEMIS-931] Improve HTTP Upgrade connection
If the object received is not an expected HttpResponse, close the
ChannelHandlerContext and countdown the latch

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-931
2017-01-20 15:22:25 +01:00
Andy Taylor 6c97067e1e This closes #974 ARTEMIS-930 Return the ID field on createFile statement 2017-01-20 12:44:22 +00:00
Martyn Taylor 0bcf003a87 ARTEMIS-930 Return the ID field on createFile statement 2017-01-20 12:44:22 +00:00
Clebert Suconic 9fb28e5651 NO-JIRA: just adding a test to avoid future issues 2017-01-19 14:51:15 -05:00
Clebert Suconic fb75df0c01 ARTEMIS-929 Fixing Topic example 2017-01-19 12:44:44 -05:00
Clebert Suconic 5f4b5eb40b This closes #973 2017-01-19 12:26:56 -05:00
Justin Bertram d891fa5f83 ARTEMIS-873 update broker configs w/new notation 2017-01-19 11:16:06 -06:00
Clebert Suconic b762889874 This closes #972 2017-01-19 11:50:07 -05:00
Howard Gao 77c84a606c ARTEMIS-929 Artemis cli tools does not check non-existing options 2017-01-19 11:39:31 -05:00
Clebert Suconic 4da561c7b0 This closes #971 2017-01-19 10:32:39 -05:00
Justin Bertram 113b28577c ARTEMIS-873 support byte notation in XML config 2017-01-19 10:32:38 -05:00
Clebert Suconic fbc77b44c2 This closes #970 2017-01-18 17:05:47 -05:00
Will Reichert 3347a4fd27 ARTEMIS-928 Changing Netty and InVM to copy buffers, and retain them on the Netty Polls. 2017-01-18 16:59:32 -05:00
Clebert Suconic 7a7f335271 ARTEMIS-962 Adding test for CME when parsing system properties and a few tweaks 2017-01-18 16:18:05 -05:00
Clebert Suconic 21cc672623 This closes #968 2017-01-18 10:21:37 -05:00
Jeff Mesnil 5ae47e8c3c ARTEMIS-962 Fix CME when parsing system properties
Add synchronized block against the properties before iterating on them.

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-926
2017-01-18 15:56:35 +01:00