Commit Graph

3186 Commits

Author SHA1 Message Date
Justin Bertram c7e0a92181 ARTEMIS-992 deal w/bad connector-ref in cluster-cxn 2017-02-23 16:52:31 -05:00
Clebert Suconic a22712638f This closes #1041 2017-02-23 14:52:45 -05:00
Justin Bertram ef8f992ca2 ARTEMIS-991 handle odd password input 2017-02-23 14:52:45 -05:00
Clebert Suconic f6ed811c15 This closes #1037 2017-02-23 12:55:28 -05:00
Justin Bertram 01465035c0 ARTEMIS-970 handle indeterminate JMS destination 2017-02-23 12:55:27 -05:00
Clebert Suconic 629aad19d0 This closes #1040 2017-02-23 11:39:23 -05:00
Justin Bertram 0b829558b3 ARTEMIS-989 JMS2 context support custom session modes 2017-02-23 11:39:23 -05:00
Clebert Suconic c7be36af4d This closes #1039 2017-02-23 11:12:20 -05:00
Dejan Bosanac 08b7882c60 [docs] migration guide - destinations 2017-02-23 11:12:19 -05:00
Clebert Suconic fbf3a726cc This closes #1038 2017-02-23 11:11:32 -05:00
Howard Gao e09be4864a ARTEMIS-988 Regression: web tmp dir not cleaned up
Due to recent changes, the web component is shutdown by the
server, but the shutdown flag is lost so the web component's
cleanup check method is not get called and the web's tmp
dir is left there after user stopped the broker (control-c).

The fix is add a suitable API to allow passing of the
flag so the web component can make sure its tmp dir gets
cleaned up properly before exiting the VM.
2017-02-23 12:39:50 +08:00
Clebert Suconic d01874ae82 This closes #1036 2017-02-22 11:35:03 -05:00
Howard Gao 2fabd059d8 ARTEMIS-981 OpenWire can't receive empty ObjectMessage
When sending an empty ObjectMessage, broker doesn't
write a 'length' field to the message buffer. In delivery
the broker tries to read the length from the buffer, which
causes "IndexOutOfBoundsException".

To fix it, we need to check if the buffer is empty or not,
and only read it if the buffer is not empty.
2017-02-22 12:59:52 +08:00
Clebert Suconic 6974b115f7 This closes #1035 2017-02-21 22:22:12 -05:00
Justin Bertram c08dbba7be NO-JIRA fix-up security example 2017-02-21 22:22:12 -05:00
Justin Bertram b7d7d134eb NO-JIRA fix possible STOMP NPE 2017-02-21 22:22:12 -05:00
Clebert Suconic dfdc4ff750 This closes #1034 2017-02-21 22:21:27 -05:00
Howard Gao b84a7f3e25 ARTEMIS-980 Openwire can't send message to temp destination
When a producer sends a messages to a temp destination created from
another connection, it fails. The reason behind it is that the
producer's connection didn't receive the advisory message (notification)
from broker about this temp destination, and it will throw an exception
if it doesn't know this temp destination.

The fix is send the advisory to the client so that it knows this destination.
2017-02-21 14:46:47 +08:00
Clebert Suconic e77d64078b This closes #1033 2017-02-20 20:54:45 -05:00
Jiri Danek a7a0535afa NO-JIRA Fixing typos in log messages, test names and comments
Related to ARTEMIS-387 (fowardingAddress)
2017-02-20 20:54:45 -05:00
Clebert Suconic e43add02d7 This closes #1032 2017-02-20 20:54:15 -05:00
Justin Bertram dbf952d0ec NO-JIRA fix STOMP websocket example 2017-02-20 20:54:15 -05:00
Clebert Suconic 29af4a982a NO-JIRA: removing dead code on AMQPSessionContext 2017-02-20 19:34:38 -05:00
Justin Bertram ceba92e534 This closes #1030 2017-02-20 12:35:49 -06:00
Clebert Suconic b788acd834 ARTEMIS-982 Fixing possible deadlock on AMQP.close & delivery
https://issues.apache.org/jira/browse/ARTEMIS-982

This is fixing a possible deadlock on delivering messages while AMQP close is called for any reason.
2017-02-20 12:35:49 -06:00
Clebert Suconic 51aa18a186 This closes #1031 2017-02-20 10:26:08 -05:00
Dejan Bosanac 81e55463cf [docs] migration guide - connectors 2017-02-20 10:26:08 -05:00
Clebert Suconic b36569d821 This closes #1025 2017-02-20 10:25:11 -05:00
Andy Taylor a243e0559f ARTEMIS-977 - record id of address not set on journal reload
https://issues.apache.org/jira/browse/ARTEMIS-977
2017-02-20 09:17:45 -05:00
Clebert Suconic cd47873f25 This closes #1029 2017-02-20 08:18:17 -05:00
Howard Gao e7a4d42a64 ARTEMIS-979 OpenWire "no-Local" consumer not working
When creating a 'no-local' openwire consumer, it doesn't work,
meaning it can still receive messages from the same connection.
The fix is similar to what Artemis client does, which is adding
a 'filter' to the consumer/subscription.
The difference is that with OpenWire we have to do it on the
broker side.
2017-02-20 08:17:43 -05:00
Clebert Suconic b9f00f73b7 This closes #1028 2017-02-20 08:15:54 -05:00
Michael André Pearce 4d7df9ac81 NO-JIRA: correction in doc.
Fixing an assumed typo. I spotted reading the docs.
2017-02-20 08:15:24 -05:00
Martyn Taylor 64b55778aa This closes #1027 2017-02-18 13:38:55 +00:00
Martyn Taylor 8b51ec27db NO-JIRA Send MQTT WILL outside of Server Session 2017-02-18 13:31:57 +00:00
Clebert Suconic 06688f5c32 This closes #1026 2017-02-17 16:12:40 -05:00
Justin Bertram 5bd1980438 ARTEMIS-978 replicating live restarts as backup
In a cluster of replicated live/backup pairs if a backup crashes and
then its live crashes the cluster will retain the topology information
of the live such that when the live server restarts it will check the
cluster to see if its nodeID is present (which it will be) and then it
will activate as a backup rather than a live. To prevent this situation
an additional check is necessary to see if the server with the matching
nodeID is actually active or not which is done by attempting to make a
connection to it.
2017-02-17 12:55:11 -06:00
Clebert Suconic 41737c8f3c Revert "NO-JIRA Remove Property shouldn't invalidate buffer if not found"
This reverts commit cf71b7292a.
2017-02-17 11:52:07 -05:00
Clebert Suconic a7a556f954 This closes #1024 2017-02-17 11:34:29 -05:00
Dejan Bosanac ac7a451957 [docs] migration guide - configuration 2017-02-17 11:41:07 +01:00
Clebert Suconic cf71b7292a NO-JIRA Remove Property shouldn't invalidate buffer if not found 2017-02-16 21:03:38 -05:00
Clebert Suconic bcecda73f5 This closes #1023 2017-02-16 15:04:15 -05:00
dOkI fc70f9414a ARTEMIS-976: PostgresSequentialSequentialFileDriver SQLProvider NPE fix 2017-02-16 15:00:42 -05:00
Justin Bertram f900d8a975 This closes #1022 2017-02-16 12:42:04 -06:00
Martyn Taylor 5a235d98b6 ARTEMIS-974 ensure will messages are retained 2017-02-16 18:22:10 +00:00
Martyn Taylor e088c2fa27 This closes #1021 2017-02-16 17:37:50 +00:00
Dejan Bosanac 21b64b3e4f https://issues.apache.org/jira/browse/ARTEMIS-815 - support wildcard address configuration in mqtt layer
https://issues.apache.org/jira/browse/ARTEMIS-815 - support wildcard address configuration in mqtt layer - remove old swap method

https://issues.apache.org/jira/browse/ARTEMIS-815 - added tests for mqtt-openwire integration and fixed openwire layer

https://issues.apache.org/jira/browse/ARTEMIS-815 - remove unused imports
2017-02-16 17:37:50 +00:00
Clebert Suconic f660783df5 NO-JIRA: Removing spurious debug message 2017-02-16 12:05:44 -05:00
Justin Bertram 57fd708dc9 This closes #1020 2017-02-15 13:37:28 -06:00
Clebert Suconic f38d5c7dbc ARTEMIS-969 Unecessary buffer expansion on message delivery 2017-02-15 13:49:00 -05:00