Commit Graph

3838 Commits

Author SHA1 Message Date
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
Martyn Taylor 5adce230a3 This closes #1169 2017-04-03 14:28:02 +01:00
Andy Taylor 8b9cb2181c update jolokia war to remove version in binary 2017-04-03 14:28:02 +01:00
Andy Taylor 5529bf150a ARTEMIS-1090 - Message not expired if absolute expiry time is 0 and ttl is set
https://issues.apache.org/jira/browse/ARTEMIS-1090
2017-04-03 14:28:02 +01:00
Martyn Taylor 57bae51e85 This closes #1167 2017-04-03 12:54:37 +01:00
Clebert Suconic 0b62f698c3 ARTEMIS-1089 Fixing Replication catchup slow 2017-04-02 20:20:45 -04:00
Clebert Suconic 739dd82f31 ARTEMIS-1089 Adding test for replication sync slow 2017-04-02 20:20:45 -04:00
Clebert Suconic 5b4247479c NO-JIRA: Adding Acceptor and Connector utility 2017-04-02 19:21:14 -04:00
Clebert Suconic 5f939cf61f ARTEMIS-992 Reverting 'ERROR' message
Commit 81b5563a52 introduced an error message
even if you start a regular non clustered server.
2017-04-01 15:57:41 -04:00
Clebert Suconic afd1835a8f NO-JIRA: Simple Test fix on DeadLetterAdressTest 2017-04-01 15:49:42 -04:00
Clebert Suconic 9c472013e2 NO-JIRA: Removing Flow Control tests
These tests are duplicated on the regular testsuite and they were fixed there
2017-04-01 11:17:08 -04:00
Clebert Suconic 5c6c42b940 NO-JIRA: minor test fix 2017-03-31 22:50:01 -04:00
Clebert Suconic 9956f951a6 NO-JIRA: Avoiding a test failure on slow Jenkins
JmsNettyNioStressTest is using Persistent messages
depending on the hardware used this may eventually fail.
2017-03-31 19:28:13 -04:00
Bernd Gutjahr 5a31e70353 ARTEMIS-1078 Improving ActiveMQThreadPoolExecutor
This is now considering only threads waiting for the queue to get new tasks as idle.

The thread pool maintained a counter of active threads, but that counter was increased
too late in the beforeExecute method. Submitting a task created a new thread.
If now a second task was submitter before the new thread had started to execute it's task,
the second task was queued without creating a 2nd thread. So the second task was only
executed after the first task had been completed - even if the thread pool's
maximum number of thread had not been reached.

This fix now maintains the delta between the number those threads that are currently waiting
in the queue's poll or take methods as idle threads, and the number of queued tasks.
It creates new threads unless there are enough idle threads to pick up all queued tasks.

This closes #1144
2017-03-31 19:01:54 -04:00
Clebert Suconic 05ca44d901 This closes #1166 2017-03-31 17:52:14 -04:00
Martyn Taylor 8760b3ddfd ARTEMIS-1087 Make InVM buffer pooling configurable 2017-03-31 18:56:07 +01:00
Clebert Suconic 848090fad2 This closes #1165 2017-03-31 10:56:15 -04:00
Martyn Taylor 120b8aa7ad ARTEMIS-1085 Perform storelineup on appendRecord 2017-03-31 15:50:02 +01:00
Martyn Taylor 33fff52651 This closes #1164 2017-03-31 15:24:50 +01:00
Clebert Suconic 1ca1b4baf9 ARTEMIS-1042 Commenting out test 2017-03-30 22:23:20 -04:00
Clebert Suconic d779afe874 NO-JIRA: Fixing test hunging on OpenWire 2017-03-30 21:56:46 -04:00
Clebert Suconic 690b8d24d7 This closes #1160 2017-03-30 21:20:37 -04:00
Justin Bertram 6cf9a98c49 ARTEMIS-1065 fix broken test 2017-03-30 21:20:37 -04:00
Clebert Suconic 5f79610fd3 This closes #1161 2017-03-30 21:20:14 -04:00
Justin Bertram 81b5563a52 ARTEMIS-992 NPE on startup 2017-03-30 21:20:14 -04:00