Commit Graph

6404 Commits

Author SHA1 Message Date
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 ad2ecd77d2.

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 bd1162d9b8.
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
Luis De Bello bd1162d9b8 ARTEMIS-2316 AMQPMessage missing ApplicationProperties from custom transformer 2019-04-23 21:57:21 +01:00
Clebert Suconic 28919c5ebc NO-JIRA Enabling new tests 2019-04-23 15:39:45 -04:00
Clebert Suconic 442fa91d82 This closes #2627 2019-04-22 21:45:25 -04:00
Clebert Suconic 1e35175a4d ARTEMIS-2311 Dealing with Protocol conversions and JMSReplyTo 2019-04-22 21:45:24 -04:00
Clebert Suconic 45121eade2 ARTEMIS-2306 Fixing Test and possible NPE 2019-04-22 21:44:14 -04:00
Clebert Suconic 214dd0d664 This closes #2630 2019-04-22 16:58:40 -04:00
Justin Bertram 755fa0c3a6 ARTEMIS-2315 ClientSession.createQueue routing-type bug 2019-04-22 16:58:40 -04:00
Clebert Suconic 847c83fc2d This closes #2631 2019-04-22 16:58:11 -04:00
Justin Bertram 7cc890ae6f ARTEMIS-2307 prefix not removed for security check 2019-04-22 16:58:11 -04:00
Clebert Suconic 6da2d5e2cd This closes #2632 2019-04-22 16:47:53 -04:00
Clebert Suconic 33d6721ffc ARTEMIS-2314 Improving Test and compatibility check on FQQN 2019-04-22 16:34:15 -04:00
Justin Bertram a2cb44400f ARTEMIS-2314 broken compat with old core JMS FQQN consumer
When auto-creation is off then older clients consuming messages from an
FQQN won't work. This commit fixes that problem and adds a compatibility
test to verify.
2019-04-22 11:04:01 -05:00
Clebert Suconic aa0bf60649 This closes #2628 2019-04-22 10:49:08 -04:00
Justin Bertram f155838626 ARTEMIS-2313 Accumulation in HierarchicalObjectRepository cache 2019-04-22 10:48:47 -04:00
Clebert Suconic 8477dd95ee This closes #2625 2019-04-17 16:25:43 -04:00