Commit Graph

321 Commits

Author SHA1 Message Date
Clebert Suconic 492b55e09a ARTEMIS-1353 Initial replication of large messages out of executor
This is based on the work @jbertram made at the github pr #1466 and the discussions we had there

(cherry picked from commit ce6942a9aa)
2017-09-26 14:28:07 -04:00
Jeff Mesnil 492022618d [ARTMIS-1431] Adapt transport configuration in ClientProtocolManagerFactory
add the adaptTransportConfiguration() method to the
ClientProtocolManagerFactory so that transport configurations used by
the ClientProtocolManager have an opportunity to adapt their transport
configuration.

This allows the HornetQClientProtocolManagerFactory to adapt the
transport configuration received by remote HornetQ broker to replace the
HornetQ-based NettyConnectorFactory by the Artemis-based one.

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1431
2017-09-22 16:35:36 +02:00
Clebert Suconic 9eb2799cb5 ARTEMIS-1305 Server Frozen during shutdown if RA is retrying
(cherry picked from commit 7bf8e4e890)
2017-07-25 22:40:47 -04:00
Howard Gao 004c86804f ARTEMIS-1261 Adjust default confirmation-window-size for bridges
The default id-cache-size is 20000 and the default
confirmation-window-size is 1MB. It turns out the 1MB
size is too small for id-cache-size.

To fix it we adjust the confirmation-window-size to 10MB. Also
a test is added to guarantee it won't break this rule when this
default value is to be changed to any new value.

(cherry picked from commit 06986e4ee1)
2017-07-25 12:11:37 -04:00
Clebert Suconic 2a2f25664c ARTEMIS-1304 Message loss on Commmit timeout during failover
(cherry picked from commit 50a900c04b)
2017-07-24 20:27:56 -04:00
Francesco Nigro 44d3be5a7e ARTEMIS-1301 Network failures recognition on backpressure while streaming large messages
(cherry picked from commit 32fe21d595)
2017-07-24 09:43:43 -04:00
Clebert Suconic f744904fdb ARTEMIS-1269 replication won't finish synchronization
(cherry picked from commit 6b2798a0fe02bcb5ca2f13b1431fd8dfe327d20e)
2017-07-01 00:47:50 -04:00
Andy Taylor 333959dc00 ARTEMIS-1237 - Hard coded timeout on Journal file open
Make timeout configurable

https://issues.apache.org/jira/browse/ARTEMIS-1237
2017-06-22 12:03:16 -04:00
Tomas Hofman dcf0210605 ARTEMIS-1187 Incompatible version when recreating a session with older server
https://issues.jboss.org/browse/JBEAP-9522

(cherry picked from commit c3871a183f)
2017-06-01 16:35:43 +02:00
Clebert Suconic c7dc04c2af [maven-release-plugin] prepare for next development iteration 2017-05-08 21:00:29 -04:00
Clebert Suconic ae41632bbe [maven-release-plugin] prepare release 1.5.5 2017-05-08 21:00:17 -04:00
Bernd Gutjahr 88e629a7ae ARTEMIS-1112: Added wait-for-activation option to shared-store-master config
Added a wait-for-activation option to shared-store master HA policies.
This option is enabled by default to ensure unchanged server startup behavior.

If this option is enabled, ActiveMQServer.start() with a shared-store master server will not return
before the server has been activated.
If this options is disabled, start() will return after a background activation thread has been started.
The caller can use waitForActivation() to wait until server is activated, or just check the current activation status.

(cherry picked from commit 6017e305d9)
(cherry picked from commit 7aa50546b3)
2017-05-04 11:28:12 +02:00
Jeff Mesnil 64c89b6874 [ARTEMIS-1043] Support IPv6 in NettyConnector
Wrap the host added to the HTTP request headers with
IPV6Util.encloseHost to ensure that load balancers that reads the header
will have a valid IPv6 address.

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1043
2017-05-03 09:56:24 +02:00
Martyn Taylor 9c013e74cb ARTEMIS-1125 Persist JMS Bindings in Database on JDBC 2017-04-20 21:04:26 +01:00
Francesco Nigro 87bde15f38 ARTEMIS-1124 JDBC Network Timeout configuration
(cherry picked from commit a639774b54)
2017-04-20 19:45:19 +02:00
Francesco Nigro 3c33632882 ARTEMIS-1098 Improve flow control while streaming large messages
(cherry picked from commit c6d24e9073)
2017-04-11 10:47:46 +01:00
Francesco Nigro a9fbd22fcb ARTEMIS-1089 fixing compilation 2017-04-11 07:30:06 +02:00
Clebert Suconic c30e7cd1da ARTEMIS-1089 fixing compilation 2017-04-10 12:50:15 -04:00
Clebert Suconic 8a4a307653 ARTEMIS-1089 Improving flow control on replication
(Cherry picked from 911888e8d1)
2017-04-07 15:30:21 -04:00
Jeff Mesnil a97303118b [ARTEMIS-1043] Support IPv6 in NettyConnector
Call IPV6Util.encloseHost when creating the uri used to send the HTTP
ugrade request to ensure that IPv6 address are properly enclosed.

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1043
2017-04-06 19:58:47 -05:00
Francesco Nigro 55f5124932 ARTEMIS-1025 Improve flow control on NettyConnection
(cherry picked from commit 27cfb2d902)
2017-04-06 18:51:58 +02:00
Clebert Suconic 7929fff893 ARTEMIS-1089 Fixing Replication catchup slow 2017-04-03 12:58:13 +01:00
Clebert Suconic b819026dfc ARTEMIS-1056 Improving allocations on InVM Transport 2017-04-03 12:58:13 +01:00
Clebert Suconic c2989e1742 ARTEMIS-1056 Removing PartialPooledByteBufAllocator 2017-04-03 12:56:21 +01:00
Francesco Nigro ec3ed04d08 ARTEMIS-1036 Streaming huge messages between cluster nodes causes java.lang.OutOfMemoryError: Direct buffer memory
(cherry picked from commit 1686b3545d)
2017-03-29 15:09:25 +02:00
Armand Roelens 9330fc8546 ARTEMIS-1074 Acceptors/Connectors now start up when configured to use SSL and a password codec
(cherry picked from commit 3ceb332866)
2017-03-28 17:40:35 -07:00
Jeff Mesnil 35800351ea [ARTEMIS-1057] Log AMQ214023 at DEBUG level
JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1057
2017-03-22 10:30:25 +01:00
John D. Ament 5896a2e176 [maven-release-plugin] prepare for next development iteration 2017-03-07 21:46:12 -05:00
John D. Ament 07807952a8 [maven-release-plugin] prepare release artemis-pom-1.5.4 2017-03-07 21:44:12 -05:00
Martyn Taylor fbdac0c97d ARTEMIS-1002 Use default PooledBufferAllocator in ActiveMQBuffers
(cherry picked from commit dc40f60e6b)
2017-02-27 14:24:04 -05: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
Clebert Suconic c5c50c53be ARTEMIS-969 Unecessary buffer expansion on message delivery
(cherry picked from commit f38d5c7dbc)
2017-02-15 14:39:54 -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 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 f231fe4e9b ARTEMIS-917 Only return body of retained message after reboot
(cherry picked from commit 3900cb0ec7)
2017-02-10 14:55:24 +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
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
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
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
Martyn Taylor 115ccf874d ARTEMIS-560 Add Support For JDBC Paging
(cherry picked from commit 118c272c77)
2017-01-17 15:02:24 -05:00
Justin Bertram 3246fd55dd ARTEMIS-927 mask password in CreateSessionMessage
(cherry picked from commit 68c4e50847)
2017-01-17 14:27:09 -05:00
Clebert Suconic 7b616f50cb [maven-release-plugin] prepare for next development iteration 2017-01-16 12:05:21 -05:00
Clebert Suconic c62f4f101d [maven-release-plugin] prepare release 1.5.2 2017-01-16 12:05:10 -05:00