Commit Graph

3662 Commits

Author SHA1 Message Date
Clebert Suconic f282dff57c This closes #1197 2017-04-11 11:48:30 -04:00
Timothy Bish d2731fa0e1 ARTEMIS-1110 Cleanup Transaction Coordinator buffer handling
Resuse a single small buffer for all txn commands (declare / dischare) to
avoid creating lots of small arrays and ByteBuffer wrappers for txn operations.
2017-04-11 11:33:58 -04:00
Martyn Taylor 62096f975e This closes #1193 2017-04-11 10:43:54 +01:00
Andy Taylor fb3de112e4 ARTEMIS-1107 - fix and Test AddressControl.sendMessage()
https://issues.apache.org/jira/browse/ARTEMIS-1107
2017-04-11 08:29:43 +01:00
Andy Taylor 0032a5df92 This closes #1191 ARTEMIS-1107 test AddressControl.sendMessage 2017-04-11 07:57:57 +01:00
Justin Bertram 67a06588f4 ARTEMIS-1107 test AddressControl.sendMessage
Add tests for this management operation with both core and AMQP encoded
messages. Also fix a few problems with the implementation like not
checking the passed-in headers for null and not counting messages
properly.
2017-04-11 07:57:57 +01:00
Clebert Suconic 359592cf5e This closes #1190 2017-04-10 14:00:05 -04:00
Francesco Nigro da6b851c60 ARTEMIS-1098 Improve flow control while streaming large messages 2017-04-10 13:58:33 -04:00
Clebert Suconic 73c79de8af This closes #1189 2017-04-10 12:25:58 -04:00
Clebert Suconic 4a73d82964 ARTEMIS-1105 Adding setPaged that was missed during the refactoring 2017-04-10 12:25:28 -04:00
Andy Taylor 185b0cb2a8 ARTEMIS-1105 null pointer when replicating paged messages
https://issues.apache.org/jira/browse/ARTEMIS-1105
2017-04-10 12:25:25 -04:00
Clebert Suconic 8911efd0c3 This closes #1188 2017-04-10 10:16:44 -04:00
Ingo Weiss e6f757e44f [ARTEMIS-861] Artemis 1.5 compilation fails with IBM JDK
Issue: https://issues.apache.org/jira/browse/ARTEMIS-861
2017-04-10 10:16:44 -04:00
Justin Bertram bb6a418374 This closes #1187 2017-04-07 15:36:23 -05:00
Timothy Bish 3b45261f19 ARTEMIS-1101 Read the correct values for timestamp and user-id
Fix the getUserID and getTimestamp methods in AMQPMessage to read and
return the correct values.  Adds some tests to cover these cases and
cleans up some others.
2017-04-07 16:12:58 -04:00
Clebert Suconic a41a1316d5 This closes #1184 2017-04-07 10:34:20 -04:00
Clebert Suconic dbe1976b47 NO-JIRA: Using Env as the source of isTestEnv 2017-04-07 10:31:03 -04:00
Francesco Nigro a0f369af05 ARTEMIS-1099 Force Netty EPOLL to be available only on Linux 64bit platforms 2017-04-07 10:28:22 -04:00
Justin Bertram 9e41489aab This closes #1186 2017-04-07 09:11:37 -05:00
Clebert Suconic 53a801043b NO-JIRA test fix (PotentialOOMELoggingTest) 2017-04-07 09:11:37 -05:00
Justin Bertram d82d028e76 This closes #1185 2017-04-07 09:11:11 -05:00
Clebert Suconic 01362bbb1d ARTEMIS-1100 Store Header on AMQP message 2017-04-07 09:11:11 -05:00
Justin Bertram 7304416d42 This closes #1183 2017-04-07 09:10:44 -05:00
Clebert Suconic 911888e8d1 ARTEMIS-1089 Improving flow control on replication 2017-04-06 21:45:31 -04:00
Justin Bertram d29afd1c8b This closes #1177 2017-04-06 19:57:21 -05:00
Jeff Mesnil ee50ce4042 [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:57:21 -05:00
Justin Bertram c62fdaf81d This closes #1182 2017-04-06 19:56:30 -05:00
Clebert Suconic 029132c1f4 NO-JIRA: Cleanup on Smoke test 2017-04-06 19:56:30 -05:00
Justin Bertram f5738243fd This closes #1180 2017-04-06 19:55:09 -05:00
Clebert Suconic 753a8d2635 NO-JIRA Removing verbose log.info from testsuite 2017-04-06 19:55:09 -05:00
Clebert Suconic cbe3621431 ARTEMIS-1096 Changing Global Max Size's default 2017-04-06 19:55:09 -05:00
Clebert Suconic 0c1c56ca69 This closes #1181 2017-04-06 16:45:20 -04:00
Timothy Bish 45c59f05dc ARTEMIS-1097 Respect the message priority value in the AMQP message
Ensure that the header value for priority is read and returned in a form
that is scaled such that it won't cause an IndexOutOfBoundsException
from the QueueImpl priority array.  Adds some additional testing for
message priority support.
2017-04-06 16:18:53 -04:00
Clebert Suconic 1cb5cab4cf This closes #1179 2017-04-06 13:23:49 -04:00
Francesco Nigro 41a069a346 NO-JIRA Fixed log level test on NettyConnection 2017-04-06 13:23:49 -04:00
Clebert Suconic 7d9ae1a83e This closes #1175 2017-04-06 13:22:30 -04:00
Justin Bertram 4a57aecbbf ARTEMIS-1094 replica + group-name fix
When a replica attempts to connect to a live server using a group-name
and there are > 1 servers on the network using that group there is a
chance it will fail because it doesn't keep track of all of the
topology data it receives. This fix ensures that all the topology data
from the cluster tracked until it is used and fails at which point it
is discarded.
2017-04-06 13:22:30 -04:00
Clebert Suconic f88311b04b ARTEMIS-1025 small tweak on logs 2017-04-06 11:40:10 -04:00
Clebert Suconic 25b5ddd90c This closes #1119 2017-04-06 11:25:18 -04:00
Francesco Nigro 27cfb2d902 ARTEMIS-1025 Improve flow control on NettyConnection 2017-04-06 17:22:05 +02:00
Clebert Suconic d0ae3f25aa This closes #1176 2017-04-06 09:31:44 -04:00
Francesco Nigro f53449b945 ARTEMIS-1095 Netty's WriteBufferWaterMark configuration via TransportConstants 2017-04-06 15:26:13 +02:00
Justin Bertram 2edc972c52 This closes #1174 2017-04-05 15:19:07 -05:00
Clebert Suconic c767e93bf5 ARTEMIS-1089 Simplifying smoke tests 2017-04-05 15:55:09 -04:00
Martyn Taylor 582907f317 This closes #1171 2017-04-05 13:06:55 +01:00
Clebert Suconic dd27fb587f ARTEMIS-1089 Moving smoke tests under ./tests/smoke-tests
This is moving the smoke tests creates as part of the relication tests.

They are also now based on junit tests.

And to support starting servers I am exposing basedir to unit tests in general.
2017-04-05 13:06:55 +01:00
Martyn Taylor f0ce8a85a2 This closes #1173 2017-04-05 13:06:11 +01:00
Andy Taylor bffbca8f64 no jira - possible null pointer 2017-04-05 11:56:32 +01:00
Clebert Suconic 22c6f40344 This closes #1170 2017-04-04 20:07:28 -04:00
Justin Bertram 073a280629 ARTEMIS-1092 Validated user + AMQP fix
When populate-validated-user = true AMQP messages can cause exceptions.
This feature isn't particularly applicable to AMQP so this commit
eliminates the exception and leaves the AMQP messages untouched
even if populate-validated-user = true. In other words,
populate-validated-user + AMQP is not supported.
2017-04-04 14:46:22 -05:00