6419 Commits

Author SHA1 Message Date
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
Justin Bertram
73bdbad8b4 ARTEMIS-2310 support system prop sub in xincludes
Historically the broker has read the XML configuration file as a String,
substituted system properties, and then parsed that String into an XML
document. However, this method won't substitute system properties in the
files which are imported via xinclude. In order to substitue system
properties in xincluded files the substitution needs to be performed
after the file is parsed into an XML document. This commit implements
that change and refactors the XMLUtil class a bit to eliminate redundant
code, obsolete comments, etc.
2019-04-25 10:51:12 -04:00
Clebert Suconic
31348621cd This closes #2639 2019-04-24 16:27:47 -04:00
Clebert Suconic
15a335df01 ARTEMIS-2318 HornetQ Protocol Manager should copy the messages before replacing message properties 2019-04-24 16:27:32 -04:00
Clebert Suconic
c5aa5fa81a This closes #2636 2019-04-24 14:44:16 -04:00
Justin Bertram
b4ce3305bf ARTEMIS-2296 PgResultSet.updateBlob not implemented
There is no test for this as we don't have a way to embed/test Postgres.
It will need to be verified externally. However, given the exception the
fix looks solid.
2019-04-24 14:44:16 -04:00
Clebert Suconic
838651ce62 This closes #2637 2019-04-24 14:42:31 -04:00
Sebastian Lövdahl
8fe61d27fb NO-JIRA Fix references to failover-on-shutdown in documentation 2019-04-24 14:42:31 -04:00
Clebert Suconic
64f5f661b0 This closes #2638 2019-04-24 14:41:23 -04:00
Emmanuel Hugonnet
ad2ecd77d2 ARTEMIS-2319 Upgrading jboss-logging dependencies 2019-04-24 14:41:01 -04:00
Michael Andre Pearce
7c6e5e646c This closes #2634 2019-04-23 21:57:21 +01:00