6479 Commits

Author SHA1 Message Date
Clebert Suconic
c56e84c1ea This closes #2655 2019-05-03 23:11:21 -04:00
Michael André Pearce
b60c304c70 ARTEMIS-2327 ExceptionListener invoked when connection level exception
Add tests
Add fix - if timeout occurs on sending packet, calls same code that is invoked if timeout occurs on during ping aligning logic, and ensuring JMS connection exception listener gets invoked to inform the client logic to react.
2019-05-03 23:11:21 -04:00
Clebert Suconic
ac89471cc5 This closes #2659 2019-05-03 23:10:55 -04:00
Clebert Suconic
b5b2cc98b0 NO-JIRA Fixing JMX Test
This test has been failing as part of the main testsuite
and it should really be a smoke test as it is using a real test.
so, I'm moving it as smoke-test
2019-05-03 18:05:26 -04:00
Robbie Gemmell
bfe0c5cc10 NO-JIRA: add test of defaulted durable field
Verifies broker isnt affected by same behaviour from 5.x issue AMQ 7189
2019-05-03 10:45:25 +01:00
Clebert Suconic
0dae70bc51 This closes #2658 2019-05-02 20:37:30 -04:00
Clebert Suconic
6f0380097e ARTEMIS-2330 Fixing Possible NPE on HQPropertiesConversionInterceptor 2019-05-02 19:20:40 -04:00
Clebert Suconic
56152a9e7c [maven-release-plugin] prepare for next development iteration 2019-05-02 16:39:10 -04:00
Clebert Suconic
a8e7f9d07a [maven-release-plugin] prepare release 2.8.0 2.8.0 2019-05-02 16:38:58 -04:00
Clebert Suconic
9872128a1f NO-JIRA Fixing GlobalPagingTest 2019-05-02 12:24:19 -04:00
Clebert Suconic
ba8af340c2 This closes #2657 2019-05-02 12:01:18 -04:00
Clebert Suconic
9ec9e0785b ARTEMIS-2329 AddressSettings inconsistence on decoding
This is fixing these tests:
- org.apache.activemq.artemis.tests.integration.paging.PagingOrderTest#testPagingOverCreatedDestinationQueues
- org.apache.activemq.artemis.tests.integration.paging.PagingOrderTest#testPagingOverCreatedDestinationTopics

No additional tests are needed as this change is covereted by the current testsuite
2019-05-02 11:48:14 -04:00
Clebert Suconic
bede6032c9 This closes #2656 2019-05-01 02:07:08 -04:00
Clebert Suconic
fa259ba66e ARTEMIS-2328 Routing after empty addresses could lead to invalid messages 2019-05-01 01:34:28 -04:00
Clebert Suconic
39475c68e9 This closes #2649 2019-04-30 13:34:26 -04:00
Clebert Suconic
c0300c318c NO-JIRA Test fix 2019-04-30 13:33:45 -04:00
Clebert Suconic
9143177fe7 This closes #2653 2019-04-29 20:53:15 -04:00
Justin Bertram
f584efd574 ARTEMIS-2326 remove pwd params before creating protocol mgr 2019-04-29 20:53:15 -04:00
Clebert Suconic
f664713757 NO-JIRA typo on logger 2019-04-29 20:50:32 -04:00
Michael Andre Pearce
c528d623d6 This closes #2652 2019-04-29 11:28:10 +01:00
Jiri Danek
83f0ef2878 ARTEMIS-2320 Stream API call chain can be simplified 2019-04-29 11:28:10 +01:00
Jiri Danek
3e87249d75 ARTEMIS-2320 Overwritten Map key or Set element 2019-04-29 11:28:10 +01:00
Jiri Danek
4014aa0157 ARTEMIS-2320 AtomicFieldUpdater field not declared 'static final' 2019-04-29 11:28:10 +01:00
Jiri Danek
4abc2e0430 ARTEMIS-2320 Synchronization on a non-final field 2019-04-29 11:28:10 +01:00
Jiri Danek
f508a25566 ARTEMIS-2320 Standard Charset object can be used 2019-04-29 11:28:10 +01:00
Jiri Danek
781e4c460d ARTEMIS-2320 'while' statement does not loop 2019-04-29 11:28:10 +01:00
Jiri Danek
b33874488b ARTEMIS-2320 Assorted small code fixes, mostly from IntelliJ autofixes 2019-04-29 11:28:10 +01:00
Michael Andre Pearce
bd6d5ecd72 This closes #2650 2019-04-29 11:27:30 +01:00
Jiri Danek
34e5d607ef ARTEMIS-2320 'compare()' method can be used to compare numbers 2019-04-29 11:27:29 +01:00
Jiri Danek
d076d1ca59 ARTEMIS-2320 Fix BadComparable errorprone warning
Possible sign flip from narrowing conversion
    (see https://errorprone.info/bugpattern/BadComparable)
2019-04-29 11:27:29 +01:00
Jiri Danek
7820011d63 ARTEMIS-2320 Fix MathAbsoluteRandom errorprone warning
Math.abs does not always give a positive result. Please consider other methods for positive random numbers.
2019-04-29 11:27:29 +01:00
Jiri Danek
f7a36300ef ARTEMIS-2320 Fix IntLongMath errorprone warning
Expression of type int may overflow before being assigned to a long
    (see https://errorprone.info/bugpattern/IntLongMath)
2019-04-29 11:27:29 +01:00
Clebert Suconic
fc51a5fcde This closes #2648 2019-04-27 12:40:14 -04:00
Clebert Suconic
00a6b933bb ARTEMIS-2324 Fixing possible race on DuplciateDetection
This is fixing AmqpSenderTest.testDuplicateDetection
2019-04-26 19:03:34 -04:00
Clebert Suconic
edbf3575d0 NO-JIRA improving duplicate detection test 2019-04-25 22:07:43 -04:00
Clebert Suconic
d468d0a574 NO-JIRA Extra tests upgrade on pom 2019-04-25 21:51:16 -04:00
Clebert Suconic
228f6af4ca [maven-release-plugin] prepare for next development iteration 2019-04-25 16:52:09 -04:00
Clebert Suconic
09d2ba18a7 [maven-release-plugin] prepare release 2.8.0 2019-04-25 16:51:57 -04:00
Clebert Suconic
12cd1c9621 This closes #2633 2019-04-25 15:43:19 -04:00
Clebert Suconic
a1b3fb3d41 NO-JIRA Adding consumer timing on CLI consumer 2019-04-25 15:43:01 -04:00
Francesco Nigro
881143252c ARTEMIS-2317 Avoid long TTSP caused by Page::read using mmap read
It implements Page::read using chunked reading of SequentialFile
instead of using memory mapped files causing long time to safepoint
issues.
2019-04-25 15:43:01 -04:00
Clebert Suconic
b66adc2d8a This closes #2644 2019-04-25 13:57:53 -04:00
Timothy Bish
ea479e1f54 ARTEMIS-2311 Add additional tests for reply to cross protocol
Add a broader range of tests for AMQP message reply to handling
across protocols to help spot potential future regressions.
2019-04-25 12:29:46 -04:00
Clebert Suconic
3ca6eec90f Revert "ARTEMIS-2319 Upgrading jboss-logging dependencies"
This reverts commit ad2ecd77d2cad093e7dca04af6d8b820947ef52a.

This was causing an issue when starting the server:

```
java.lang.NoClassDefFoundError: org/wildfly/common/net/HostName
	at org.jboss.logmanager.ExtLogRecord.<init>(ExtLogRecord.java:87)
	at org.jboss.logmanager.Logger.log(Logger.java:796)
	at org.jboss.logging.JBossLogManagerLogger.doLog(JBossLogManagerLogger.java:44)
	at org.jboss.logging.Logger.logv(Logger.java:2226)
	at org.apache.activemq.artemis.integration.bootstrap.ActiveMQBootstrapLogger_$logger.serverStarting(ActiveMQBootstrapLogger_$logger.java:35)
	at org.apache.activemq.artemis.integration.FileBroker.start(FileBroker.java:68)
	at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:85)
```
2019-04-25 11:42:26 -04:00
Clebert Suconic
d602d8101a This closes #2641 2019-04-25 11:23:44 -04:00
Clebert Suconic
e0815438d5 ARTEMIS-2316 Reverting change on AMQPMessage, and changing test to be accurate
This (kind of) reverts commit bd1162d9b8b3563437dd4fc2dafa0fd4e56cd8df.
2019-04-25 11:23:43 -04:00
Clebert Suconic
93a5feb29c This closes #2642 2019-04-25 11:23:20 -04:00
Clebert Suconic
9ac7702c93 ARTEMIS-2318 Removing debug message left by accident 2019-04-25 11:18:35 -04:00
Clebert Suconic
0a229d0786 ARTEMIS-2310 Checkstyle fix 2019-04-25 11:14:52 -04:00
Clebert Suconic
0043d9cd29 This closes #2640 2019-04-25 10:51:28 -04:00