Commit Graph

3068 Commits

Author SHA1 Message Date
Erich Duda a4b33bb33a ARTEMIS-995 Bulk of test fixes
This commit fixes tests:
 ActiveMQScheduledComponentTest.testAccumulationOwnPool
 PendingDeliveriesTest.testWithtReconnect
 ReceiveTest.testReceiveImmediate
 ActiveMQProducerResourceTest.testSendString
 EmbeddedActiveMQResourceTest.testSendString
 MultipleEmbeddedActiveMQResourcesTest.testMultipleServers
 MultipleEmbeddedJMSResourcesTest.testMultipleServers
 ActiveMQDynamicProducerResourceWithoutAddressTest.testSendString
 ActiveMQDynamicProducerResourceWithoutAddressExceptionTest.testSendBytesToDefaultAddress
 ActiveMQDynamicProducerResourceTest.testSendString
 ActiveMQServerControlTest.testTotalMessageCount
 EmbeddedActiveMQResourceCustomConfigurationTest.testCustomConfiguration
 EmbeddedJMSResourceMultipleFileConfigurationTest.testConfiguration
 EmbeddedJMSResourceQueueTest.testPushObjectMessage
 EmbeddedJMSResourceSingleFileConfigurationTest.testConfiguration
 EmbeddedActiveMQResourceFileConfigurationTest.testConfiguredQueue
 EmbeddedJMSResourceTopicTest.testPushObjectMessage
 LargeMessageFailoverTest.testTimeoutOnFailoverTransactionCommit

(cherry picked from commit 0c64cbfa4e)
2017-02-24 17:17:21 +01:00
Clebert Suconic 20d627f2b7 ARTEMIS-989 fixing test after cherry-picking 2017-02-23 17:06:37 -05:00
Justin Bertram 2b18db6a1c ARTEMIS-992 deal w/bad connector-ref in cluster-cxn
(cherry picked from commit c7e0a92181)
2017-02-23 16:53:56 -05:00
Justin Bertram 1f054f04a0 ARTEMIS-991 handle odd password input
(cherry picked from commit ef8f992ca2)
2017-02-23 14:58:04 -05:00
Justin Bertram 4ddd969ffc ARTEMIS-989 JMS2 context support custom session modes
(cherry picked from commit 0b829558b3)
2017-02-23 11:42:21 -05:00
Martyn Taylor a79cf3b2da NO-JIRA Cherry-pick fix 2017-02-18 14:04:11 +00:00
Martyn Taylor 7553e4860c NO-JIRA Send MQTT WILL outside of Server Session
(cherry picked from commit 8b51ec27db)
2017-02-18 13:39:55 +00:00
Clebert Suconic 779a19d121 Revert "NO-JIRA Remove Property shouldn't invalidate buffer if not found"
This reverts commit f492bd9786.
2017-02-17 12:21:24 -05:00
Clebert Suconic f492bd9786 NO-JIRA Remove Property shouldn't invalidate buffer if not found
(cherry picked from commit cf71b7292a)
2017-02-16 21:05:21 -05:00
dOkI 6d0f28291f ARTEMIS-976: PostgresSequentialSequentialFileDriver SQLProvider NPE fix
(cherry picked from commit fc70f9414a)
2017-02-16 15:21:09 -05:00
Martyn Taylor f082185d7f ARTEMIS-974 ensure will messages are retained
(cherry picked from commit 5a235d98b6)
2017-02-16 20:15:12 +00:00
Clebert Suconic 64968afce0 NO-JIRA: Removing spurious debug message
(cherry picked from commit f660783df5)
2017-02-16 12:23:26 -05:00
Clebert Suconic 446523f243 NO-JIRA: fixing alignment on test 2017-02-16 10:19:19 -05:00
Clebert Suconic c5c50c53be ARTEMIS-969 Unecessary buffer expansion on message delivery
(cherry picked from commit f38d5c7dbc)
2017-02-15 14:39:54 -05:00
Ulf Lilleengen b0585329b4 ARTEMIS-908: Replace lock by CAS to avoid deadlock
(cherry picked from commit 4622066323)
2017-02-15 10:46:46 -05:00
Jeff Mesnil be37020964 [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
(cherry picked from commit 992dc2bc1b)
2017-02-14 20:11:53 -05:00
Martyn Taylor e47b5d6951 NO-JIRA Fix after cherry-pick 2017-02-14 20:28:29 +00:00
Martyn Taylor b3988647f4 NO-JIRA Clean up around MQTTConnectionManager
(cherry picked from commit bd1f244dfc)
2017-02-14 19:41:50 +00:00
Martyn Taylor f25396d921 ARTMEIS-958 Route Will message outside server session
(cherry picked from commit 3bd5c9df6a)
2017-02-14 19:41:35 +00:00
Martyn Taylor 66c19d9408 ARTEMIS-960 Do not encode Will messages
(cherry picked from commit 59773c2849)
2017-02-14 19:41:20 +00:00
Martyn Taylor 16f3659cda [maven-release-plugin] prepare for next development iteration 2017-02-10 15:57:23 +00:00
Martyn Taylor 6996cd745f [maven-release-plugin] prepare release 1.5.3 2017-02-10 15:55:17 +00:00
Martyn Taylor 3d765ae4cf ARTEMIS-957 Use setBytes JDBC API vs Concat BLOB
(cherry picked from commit b8595d610d)
2017-02-10 15:29:27 +00:00
Martyn Taylor f231fe4e9b ARTEMIS-917 Only return body of retained message after reboot
(cherry picked from commit 3900cb0ec7)
2017-02-10 14:55:24 +00:00
Francesco Nigro d0b568c895 ARTEMIS-938 JDBC persistence-store should use BIGINT type for IDs in database tables
(cherry picked from commit 807dbf9051)
2017-02-10 14:37:16 +00:00
Martyn Taylor 7de8dd77e7 [maven-release-plugin] prepare for next development iteration 2017-02-09 20:32:08 +00:00
Martyn Taylor ccd60d0b42 [maven-release-plugin] prepare release 1.5.3 2017-02-09 20:02:55 +00:00
Clebert Suconic 1ed6ace941 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.

(cherry-picked from 235b9082d8)
2017-02-09 10:05:58 -05:00
Martyn Taylor bc8c831722 ARTEMIS-951 Auto Commit MQTT Acks
(cherry picked from commit cd28d76554)
2017-02-09 14:11:59 +00:00
Martyn Taylor 3b39dbc34a ARTEMIS-952 Remove MQTT Queues on Clean Session
(cherry picked from commit b2e250d425)
2017-02-09 14:11:05 +00:00
Justin Bertram d6891cb0c6 ARTEMIS-939 reload security credentials by default
(cherry picked from commit 68ac7d9668)
2017-02-07 10:43:09 -05:00
Jeff Mesnil 88680fe1e8 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

(cherry picked from dd052026e6)
2017-02-07 09:44:48 -05:00
Clebert Suconic 83b00d6a8e ARTEMIS-937 no sync on AIO shouldn't use O_DIRECT
(cherry picked from commit c60c92697f)
2017-02-03 15:22:17 -05:00
Clebert Suconic 9321ade39b ARTEMIS-935 sync option on NIO
(cherry picked from commit 1ac6354990)
2017-02-03 15:22:07 -05:00
Clebert Suconic 6018b2d74c ARTEMIS-937 Implementing proper alignment and adding perf-journal tool to validate the journal syncs
(cherry picked from commit ce035a8084)
2017-02-03 15:15:58 -05:00
Clebert Suconic 53ef820e89 NO-JIRA Fixing deadlock on JDBCJournal::stop / sync methods
(cherry picked from commit ef8cb60df7)
2017-02-03 15:07:37 -05:00
Clebert Suconic 9b2d5a0c76 ARTEMIS-935 Sync tool
(cherry picked from commit cc3fd11df2)
2017-01-29 22:08:28 -05:00
Clebert Suconic a8a0c186d1 ARTEMIS-934 Stomp Heart beat not being stopped in some cases
(cherry picked from commit f79b21e866)
2017-01-26 00:01:10 -05:00
Jeff Mesnil 0e7fde72fb [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
(cherry picked from commit 5a59cd19f8)
2017-01-20 09:55:11 -05:00
Clebert Suconic 359c679627 NO-JIRA: just adding a test to avoid future issues 2017-01-19 15:24:30 -05:00
Justin Bertram 9b3cc8c329 ARTEMIS-873 support byte notation in XML config
(cherry picked from commit 113b28577c)
2017-01-19 10:33:54 -05:00
Clebert Suconic 38cd5c9be3 [maven-release-plugin] prepare for next development iteration 2017-01-18 20:12:37 -05:00
Clebert Suconic 3649350a9b [maven-release-plugin] prepare release 1.5.2 2017-01-18 20:12:26 -05:00
Will Reichert 036933a4a4 ARTEMIS-928 Changing Netty and InVM to copy buffers, and retain them on the Netty Polls.
(cherry picked from commit 3347a4fd27)
2017-01-18 17:04:32 -05:00
Clebert Suconic aaf09262ff ARTEMIS-962 Adding test for CME when parsing system properties and a few tweaks
(cherry picked from commit 7a7f335271)
2017-01-18 16:21:14 -05:00
Jeff Mesnil 59f20d752a 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
(cherry picked from commit 5ae47e8c3c)

This closes #969
2017-01-18 10:24:06 -05:00
Clebert Suconic 52d03c885c ARTEMIS-560 Small improvements on JDBC tests for paging + adding a logger
(cherry picked from commit b4cbd36af4)
2017-01-17 15:02:24 -05:00
Martyn Taylor 115ccf874d ARTEMIS-560 Add Support For JDBC Paging
(cherry picked from commit 118c272c77)
2017-01-17 15:02:24 -05:00
Francesco Nigro 0db6345058 ARTEMIS-920 Log SQL Exceptions and Warnings
(cherry picked from commit 837066d40d)
2017-01-17 15:02:16 -05:00
Justin Bertram 3246fd55dd ARTEMIS-927 mask password in CreateSessionMessage
(cherry picked from commit 68c4e50847)
2017-01-17 14:27:09 -05:00