Commit Graph

6222 Commits

Author SHA1 Message Date
Jiri Danek 94c158ebee NO-JIRA Fix errorprone error (duplicated expression in condition) 2018-12-13 10:53:34 -06:00
Justin Bertram 4231d660c1 This closes #2453 2018-12-13 10:48:58 -06:00
Matt Slonetsky a65b62b4ed ARTEMIS-2194 Typo in word 'update' in class MessageCounterInfo 2018-12-13 10:48:44 -06:00
Justin Bertram 7c1508e7c4 This closes #2440 2018-12-13 10:47:18 -06:00
Jiri Danek 55ec2eef34 ARTEMIS-2181 Add `static` storage class for an inline function internal to the compile unit 2018-12-13 10:47:18 -06:00
Justin Bertram b37c61a81d This closes #2447 2018-12-13 10:41:47 -06:00
Josh Seidel a66cd4363d Corrected a spelling mistake of "no" to "not". 2018-12-13 10:41:47 -06:00
Clebert Suconic c90d822fac This closes #2463 2018-12-13 10:22:25 -05:00
Howard Gao 2bd8fa7c5d ARTEMIS-2197 Page deleted before transaction finishes
Fixed regression caused by previous commit
b36dc37c15
2018-12-13 20:18:31 +08:00
Clebert Suconic 3d1195455a This closes #2452 2018-12-12 13:34:36 -05:00
Timothy Bish 2ec53353a9 ARTEMIS-1938 Update Qpid JMS and proton-j to latest
Updates Qpid JMS to v0.39.0 and proton-j to v0.31.0
2018-12-12 13:34:35 -05:00
Clebert Suconic 76cce9037e This closes #2455 2018-12-11 10:27:22 -05:00
Howard Gao b36dc37c15 ARTEMIS-2197 Page deleted before transaction finishes
When a receiving transaction is committed in a paging situation,
if a page happens to be completed and it will be deleted in a
transaction operation (PageCursorTx). The other tx operation
RefsOperation needs to access the page (in PageCache) to finish
its job. There is a chance that the PageCursorTx removes the
page before RefsOperation and it will cause the RefsOperation
failed to find a message in a page.
2018-12-11 10:22:18 -05:00
Francesco Nigro f5b509b962 This closes #2448 2018-12-06 17:03:58 +01:00
Justin Bertram 8a46c3ee16 ARTEMIS-2189 allow deleting temp dest when session is closed 2018-12-06 17:03:58 +01:00
Francesco Nigro f75da3c851 This closes #2439 2018-12-06 16:45:35 +01:00
Justin Bertram 3c595f18d5 ARTEMIS-2179 mgmnt method to get cluster-cxn names 2018-12-06 16:45:35 +01:00
Francesco Nigro 8e4bc48132 This closes #2437 2018-12-06 16:13:40 +01:00
Justin Bertram d6bca3825f NO-JIRA doc for divert routing-type 2018-12-06 16:13:40 +01:00
Francesco Nigro a2705ae91d This closes #2372 2018-12-06 16:00:53 +01:00
Justin Bertram 647998c4e1 ARTEMIS-2126 web server can leak 2018-12-06 16:00:53 +01:00
Michael Andre Pearce 10b661a5c2 This closes #2038 2018-11-21 19:59:45 +00:00
King Ramos 92fcff5ff4 ARTEMIS-1828 CLI option for queue's routing-type
Optionally specify a queue routing type when creating a broker. Example:
"create --queues myqueue,mytopic:multicast". Defaults to anycast if
unspecified.
2018-11-21 19:59:45 +00:00
Clebert Suconic ddd79d8922 This closes #2433 2018-11-15 20:18:37 -05:00
Timothy Bish 593348b9ad ARTEMIS-1938 Update proton-j to 0.30.0 and Qpid JMS 0.37.0
Update to latest proton-j release and refactor the dispostion code to use
the new type enums to better deal with the dispistions.  Updates to Qpid JMS
0.37.0 which still uses the current netty 4.1.28.Final dependency.
2018-11-15 20:18:37 -05:00
Clebert Suconic 9263bb4355 This closes #2436 2018-11-15 20:18:20 -05:00
Justin Bertram 3e5a2f4951 NO-JIRA improve logging for test System prop cleanup 2018-11-15 20:18:19 -05:00
Clebert Suconic acb8ff5a2e This closes #2435 2018-11-15 20:17:55 -05:00
Justin Bertram 2898384591 NO-JIRA fix QueueControlUsingCoreTest 2018-11-15 20:17:55 -05:00
Clebert Suconic ea2bd92755 This closes #2416 2018-11-15 09:27:01 -05:00
Emmanuel Hugonnet 80525f1c91
[ARTEMIS-2163]: Classloading issue if artemis-commons is not in the same classloader as artemis-client-* or artemis-server.
* Passing the owner class to define the classloader to load classes via ClassLoadingUtil with artemis-commons in a different classloader..

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-2163
2018-11-14 18:23:30 +01:00
Clebert Suconic 9d680cc0ba This closes #2426 2018-11-14 10:49:16 -05:00
Justin Bertram e81453e660 ARTEMIS-2140 queue creation race w/AMQP shared subs 2018-11-14 10:49:15 -05:00
Clebert Suconic 29062935a5 This closes #2428 2018-11-14 10:48:24 -05:00
Clebert Suconic d6ffa8b426 NO-JIRA fix on JMSBridgeTestBase 2018-11-14 10:43:20 -05:00
Ingo Weiss ff5f1213bb [ARTEMIS-2175] Duplicate messages when JMS bridge is stopped and restarted
Issue: https://issues.apache.org/jira/browse/ARTEMIS-2175
2018-11-14 10:31:48 -05:00
Clebert Suconic c50c493427 This closes #2430 2018-11-14 10:23:57 -05:00
Howard Gao 6e89b22eaa ARTEMIS-2174 Broker reconnect cause OOM with scale down
When a node tries to reconnects to another node in a scale down cluster,
the reconnect request gets denied by the other node and keeps retrying,
which causes tasks in the ordered executor accumulate and eventually OOM.

The fix is to change the ActiveMQPacketHandler#handleCheckForFailover
to allow reconnect if the scale down node is the node itself.
2018-11-14 10:23:57 -05:00
Clebert Suconic 256e7c8aae This closes #2260 2018-11-14 10:22:46 -05:00
feuillemorte be9676c0d3 ARTEMIS-2104 Added tests in artemis-cli//MessageSerializerTest
Added new cases:
- export from anycast queue, then import to multicast topic where number of queues > 1
- export from anycast queue, then import to multicast fqqn where number of queues > 1
- export from multicast topic, then import to anycast queue (both address)
- export from anycast queue, then import to multicast topic (both address)
2018-11-14 10:22:46 -05:00
Clebert Suconic b4c9910f58 This closes #2425 2018-11-14 09:58:34 -05:00
Michael André Pearce 5ac87609e7 ARTEMIS-2142 Refactor of Patchfix ServerJMSMessage
Refactor ServerJMSMessage so it correctly transposes all JMSX headers.
Push common JMSX mappings for JMS to Message Interface mappings into MessageUtil to avoid duplication in ActiveMQMessage and ServerJMSMessage
2018-11-14 09:58:34 -05:00
Clebert Suconic a20d7a0339 This closes #2424 2018-11-14 09:54:29 -05:00
Michael André Pearce 14451a79eb ARTEMIS-2142 Patch Fix ServerJMSMessage for JMSXGROUPSEQ
This is a patch fix for JMSXGROUPSEQ.
2018-11-14 09:54:28 -05:00
Clebert Suconic 54e9d67b9a This closes #2431 2018-11-14 09:52:44 -05:00
Sebastian Thomschke ee7cc82a4d NO-JIRA Prevent maven-source-plugin being executed twice
With the current Maven config, the maven-source-plugin is executed twice, this results in the sources-jars being attached twice which leads the deploy goal in trying to upload the same sources jars twice to the repository. This slows down the build process and also fails on repositories that disallow updating of existing artifacts.

Additionally the "jar" goal is now replaced with "jar-no-fork" which prevents the maven life cycle being executed twice too.
2018-11-14 15:48:57 +01:00
Clebert Suconic ff2073a7ed This closes #2417 2018-11-13 17:37:51 -05:00
Justin Bertram f4396da9fd ARTEMIS-2108 fix another potential StackOverflow 2018-11-13 17:37:51 -05:00
Clebert Suconic 699591ee9b This closes #2429 2018-11-13 17:37:02 -05:00
Andreas Frohwerk 32fd445dd2 NO-JIRA Fix minor leak in FileMoveManagerTest
Not closing the InputStream makes this test flaky on Windows. The test
breaks because FileMoveManager::delete(java.io.File) Line 221 fails
to delete the file if it's still "owned" by the JVM process on Windows.
2018-11-13 17:36:48 -05:00