2922 Commits

Author SHA1 Message Date
Justin Bertram
84acb2f50c ARTEMIS-986 fix int overflow
(cherry picked from commit 4e92b63de735a74e9156c53ef50ac72b205d59ad)
2017-02-26 20:23:26 +00:00
Clebert Suconic
19b3ad9da5 NO-JIRA fixing merge script on 1.x 2017-02-24 16:05:55 -05:00
Clebert Suconic
2f68737b3f ARTEMIS-995 adding teardown in a few tests
(cherry picked from commit baee0038dce91e70b8d72275f1925c895bb0bfe2)
2017-02-24 11:50:55 -05:00
Clebert Suconic
cea51bee53 This closes #1046 2017-02-24 11:50:13 -05:00
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 0c64cbfa4e78208b1e262d6c60613c738b211fe1)
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 c7e0a921819cd39896e11bbfa008432633a88581)
2017-02-23 16:53:56 -05:00
Justin Bertram
1f054f04a0 ARTEMIS-991 handle odd password input
(cherry picked from commit ef8f992ca207281c6a9dc5825107e8a9dfaac6e9)
2017-02-23 14:58:04 -05:00
Justin Bertram
4ddd969ffc ARTEMIS-989 JMS2 context support custom session modes
(cherry picked from commit 0b829558b32ac1fe34fab3f18cf2730a7a919e7c)
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 8b51ec27db2e201c604e8178a574e344d73b033f)
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 f492bd978648edecfbc0cdd378f856e295cf2bde.
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 cf71b7292a06438c341fc3677243772e02b79812)
2017-02-16 21:05:21 -05:00
dOkI
6d0f28291f ARTEMIS-976: PostgresSequentialSequentialFileDriver SQLProvider NPE fix
(cherry picked from commit fc70f9414a7ead589216e8e2aee6e19ab223a5fd)
2017-02-16 15:21:09 -05:00
Martyn Taylor
f082185d7f ARTEMIS-974 ensure will messages are retained
(cherry picked from commit 5a235d98b63fbbcc94b390252ec8b14ae79a4cda)
2017-02-16 20:15:12 +00:00
Clebert Suconic
64968afce0 NO-JIRA: Removing spurious debug message
(cherry picked from commit f660783df53320e736fc187c0177d5f8206ec922)
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 f38d5c7dbcb66bebc5b9fba984845bd8d6aadc0c)
2017-02-15 14:39:54 -05:00
Ulf Lilleengen
b0585329b4 ARTEMIS-908: Replace lock by CAS to avoid deadlock
(cherry picked from commit 4622066323e9ba5af0777d0c7315389ee8f647f5)
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 992dc2bc1b613dcb788ae2b4d59dc098e3325610)
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 bd1f244dfcd20f7a2c7f22f5a77d40b4e4079230)
2017-02-14 19:41:50 +00:00
Martyn Taylor
f25396d921 ARTMEIS-958 Route Will message outside server session
(cherry picked from commit 3bd5c9df6ac28f99e2c3552c8d27fd44eaa0d7a3)
2017-02-14 19:41:35 +00:00
Martyn Taylor
66c19d9408 ARTEMIS-960 Do not encode Will messages
(cherry picked from commit 59773c284983f7919c044c54f1a6e2039023701f)
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 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 b8595d610df77271029669a3d8b7ed1b6ef9478f)
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 3900cb0ec7305ee1f341687ace6a4fab7469a817)
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 807dbf90510c7dce35fd141f0cd49932d772e115)
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 235b9082d87e465f54d550c8875d7cbefcc3a527)
2017-02-09 10:05:58 -05:00
Martyn Taylor
bc8c831722 ARTEMIS-951 Auto Commit MQTT Acks
(cherry picked from commit cd28d76554b66f618a9fb0352b2e46ecc04f1534)
2017-02-09 14:11:59 +00:00
Martyn Taylor
3b39dbc34a ARTEMIS-952 Remove MQTT Queues on Clean Session
(cherry picked from commit b2e250d4254f5d560ddc7fccb4e955e691174fbe)
2017-02-09 14:11:05 +00:00
Justin Bertram
d6891cb0c6 ARTEMIS-939 reload security credentials by default
(cherry picked from commit 68ac7d96680afda563544332798df8fb651af62d)
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 dd052026e6c5616f1f51795ea21d26f12deaf9e7)
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 c60c92697f782209875f21fad8b4fdecc3fdcd12)
2017-02-03 15:22:17 -05:00
Clebert Suconic
9321ade39b ARTEMIS-935 sync option on NIO
(cherry picked from commit 1ac63549901f9991b9319e950becb86dce8ea358)
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 ce035a8084874da3004cded844221629a9a3bc2e)
2017-02-03 15:15:58 -05:00
Clebert Suconic
53ef820e89 NO-JIRA Fixing deadlock on JDBCJournal::stop / sync methods
(cherry picked from commit ef8cb60df718049af827b61108316ddb306cfbdd)
2017-02-03 15:07:37 -05:00
Clebert Suconic
9b2d5a0c76 ARTEMIS-935 Sync tool
(cherry picked from commit cc3fd11df21a4bcda5dcc72437e6e8eb8432d61c)
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 f79b21e866539ca196eea67adc700c424f61fbfc)
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 5a59cd19f82bd7dd93919ad09470d2feda21de49)
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 113b28577c792a9fef5ac74abe6cd65bc08ffcf2)
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 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 3347a4fd2716c7c998a0ef68499f4dc3d8106241)
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 7a7f335271b7b766d940cc38b94c7e89d96d1a4d)
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 5ae47e8c3c4cd17ca6abc75e72be0338b0ceaf96)

This closes #969
2017-01-18 10:24:06 -05:00