Jeff Mesnil
86175d677a
ARTEMIS-1609 Add distinct name/address for JMS destinations
...
* add methods to JMSServerManager to be able to create JMS queues and topics
that have distincts names (as returned by the JMS API) and addresses
(as used by Artemis Core API).
* add constructors to ActiveMQQueue and ActiveMQTopic to specify JMS name
distinct from their core address
This allows to emulate Artemis 1.x naming conventions where a JMS queue
would have a name 'foo'and and an address 'jms.queue.foo' (the same
applying for JMS topic as well).
2018-01-17 12:31:27 -05:00
Justin Bertram
1aa7b5c038
ARTEMIS-1609 fix JMS destination s11n compatibility
2018-01-17 12:31:27 -05:00
Michael André Pearce
98028cdecc
ARTEMIS-1586 Refactor to make more generic
...
* Move byte util code into ByteUtil
* Re-use the new equals method in SimpleString
* Apply same pools/interners to client decode
* Create String to SimpleString pools/interners for property access via String keys (producer and consumer benefits)
* Lazy init the pools on withing the get methods of CoreMessageObjectPools to get the specific pool, to avoid having this scattered every where.
* reduce SimpleString creation in conversion to/from core message methods with JMS wrapper.
* reduce SimpleString creation in conversion to/from Core in OpenWire, AMQP, MQTT.
2018-01-17 09:33:41 +01:00
Clebert Suconic
12ef662b91
ARTEMIS-1595 Fixing serialization issues between Artemis 1.5 and master
2018-01-10 16:19:55 +00:00
Clebert Suconic
bccf18fa6f
ARTEMIS-1546 Changing version check from 1.4.0 to latest 1.5.5
2017-12-20 15:42:39 -05:00
Clebert Suconic
7514e91ed1
Revert "ARTEMIS-1545 Support JMS 2.0 Completion Listener for Exceptions"
...
Revert "ARTEMIS-1545 Adding HornetQ 2.4.7 on the mesh to validate send-acks"
I'm reverting this as the testsuite is broken..
We will send it back once worked out.
This reverts commit 8f5b7a1e73
.
This reverts commit 9b982b3e30
.
2017-12-19 17:03:00 -05:00
Michael André Pearce
9b982b3e30
ARTEMIS-1545 Support JMS 2.0 Completion Listener for Exceptions
2017-12-19 14:44:58 -05:00
Michael André Pearce
3ef98044f8
ARTEMIS-1516 - Ensure JNDI via Tomcat Resource works
...
Apply fix so that when using JNDI via tomcat resource it works.
Replace original extract of JNDIStorable taken from Qpid, and use ActiveMQ5's as fits better to address this issue. (which primary use case is users migrating from 5.x)
Refactored ActiveMQConnectionFactory to externalise and turn into reference by StringRefAddr's instead of custom RefAddr which isnt standard.
Refactored ActiveMQDestinations similar
Refactored ActiveMQDestination to remove redundent and duplicated name field and ensured getters still behave the same
2017-12-19 09:20:35 -05:00
Stanislav Knot
58cd02090d
ARTEMIS-1341 fixed getBody
2017-12-18 22:39:19 -05:00
Clebert Suconic
dbe575a0c1
ARTEMIS-1546 Fixing body compatibility issue by recast body towards 1.4
...
https://issues.apache.org/jira/browse/ARTEMIS-1546
Recasting the body as 1.x format when there's a 1.x in use at the other size of the wire
2017-12-18 22:04:38 -05:00
Howard Gao
f3ace6afd7
ARTEMIS-1416 Queue is not autocreated if address already exists
...
- Fix on core and amqp.
- Add test to verify amqp's current large message behavior.
- Add test to openwire also just to verify.
2017-11-03 18:25:23 -04:00
Justin Bertram
8703d9d51d
[maven-release-plugin] prepare for next development iteration
2017-11-01 00:38:57 -05:00
Justin Bertram
ec63189a0a
[maven-release-plugin] prepare release 2.4.0
2017-11-01 00:38:56 -05:00
Justin Bertram
a44b9d5edf
[maven-release-plugin] prepare for next development iteration
2017-10-31 12:09:43 -05:00
Justin Bertram
34a7431d1b
[maven-release-plugin] prepare release 2.4.0
2017-10-31 12:07:55 -05:00
Justin Bertram
c93a250635
ARTEMIS-1473 fix default user/pass system props
2017-10-25 14:56:09 -05:00
Jeff Mesnil
1bb710cd93
[ARTEMIS-1448] Fix Core to JMS conversion
...
priority is stored as a byte in the ICoreMessage's map.
It is stored then in a int when it is converted to JMS (as JMSPriority
header is an Integer).
JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1448
2017-10-04 16:47:00 +02:00
Clebert Suconic
c8982d775b
[maven-release-plugin] prepare for next development iteration
2017-09-05 17:03:48 -04:00
Clebert Suconic
84d5ac65b4
[maven-release-plugin] prepare release 2.3.0
2017-09-05 17:03:37 -04:00
Clebert Suconic
ed1b268d42
[maven-release-plugin] prepare for next development iteration
2017-08-31 13:48:09 -04:00
Clebert Suconic
21f2a4a52c
[maven-release-plugin] prepare release 2.3.0
2017-08-31 13:47:57 -04:00
Michael Andre Pearce
7b40abead9
ARTEMIS-1308: Make acknowlegde in AcitveMQMessage non blocking
...
Allow commit within the acknowledge to be non blocking (batch) this toggles the on the existing blockonacknowlegde config.
2017-08-08 10:07:15 -04:00
Clebert Suconic
fdad83be22
[maven-release-plugin] prepare for next development iteration
2017-07-24 21:21:18 -04:00
Clebert Suconic
71b1cc2a20
[maven-release-plugin] prepare release 2.2.0
2017-07-24 21:21:06 -04:00
Josh Reagan
177bda4892
ARTEMIS-1255 Fixed authentication issues with XAConnectionFactory
...
Added the global user/password variables to all of the variations of the createContext/createConnectionFactory methods.
2017-06-27 14:25:47 -04:00
Michael Andre Pearce
44b7e455cb
ARTEMIS-1205: AMQP Shared Durable Subscriber incorrect behaviour
...
Use AcitveMQDestination for subscription naming, fixing and aligning queue naming in the process.
The change is behind a configuration toggle so to avoid causing any breaking changes for uses not expecting.
2017-06-19 12:44:13 +01:00
Dmitrii Tikhomirov
6ddeb96a8a
[ARTEMIS-1226] Log messages without prefixed id code in artemis-jms-client
2017-06-12 12:39:33 -05:00
Clebert Suconic
545414c18b
ARTEMIS-1206 SetClientID from Core ConnectionFactory is not unique
2017-06-07 15:03:59 -04:00
Michael Andre Pearce
e8fa02bf80
ARTEMIS-1207: Align when setClientId can be called
...
Update ActiveMQConnection to change/alighn behaviour for addtional methods:
- getMetaData
- stop
Adding test to avoid regression.
This is aligning with qpid-jms and openwire clients
2017-06-07 10:18:15 -04:00
Michael Andre Pearce
754e9db5fd
ARTEMIS-1207: [Core JMS Client] Align order of when setClientId can be called with AcitveMQ5 and QPID
...
Update ActiveMQConnection to change behaviour
Add test to avoid regression.
2017-06-06 10:57:44 -04:00
Michael Andre Pearce
c65ea783ea
ARTEMIS-1189 - Fix checkstyle violations post checkstyle upgrade
...
After upgrade of checkstyle, resolve violations
remove checkstyle override added as temp measure at point of upgrade forced by sevntu
2017-05-30 13:40:00 -04:00
Michael Andre Pearce
373803a85d
ARTEMIS-1179: Add Optional Client JMS Destination Cache
...
Add topic and queue cache maps in Session.
Add configuration to use cache or not with defaulting to false, which keeps existing behaviour as the default.
2017-05-24 18:45:16 -04:00
Michael Andre Pearce
1b89caaa00
ARTEMIS-1182: Add / Port in support for JNDIReferenceFactory and JNDIStorable
...
Add clones/copies of these class's taken from qpid (though identical to ActiveMQ 5.x also)
2017-05-24 18:44:37 -04:00
Michael Andre Pearce
a4e19b432b
ARTEMIS-1164: NameNotFoundException when using java.naming.provider.url to set url via jndi
...
Support setting PROVIDER_URL on initial context to create default connection factories.
2017-05-17 10:28:18 -05:00
klausboeing
7b5f141a4c
ARTEMIS-1163 Refactory to polimorphic connectionfactory creation
...
Move logic to create a connectionfactory from the ActiveMQJMSClient class
to the JMSFactoryType enum to eliminate conditional logic in favor of polymorphism.
2017-05-16 14:13:05 -04:00
Michael Andre Pearce
c6ac1d943c
ARTEMIS-1164: NameNotFoundException when using java.naming.provider.url to set url via jndi
...
Support setting PROVIDER_URL on initial context to create default connection factories.
2017-05-15 15:20:53 -05:00
Clebert Suconic
dc26ac96b4
ARTEMIS-1156: moving our collections on its own package
2017-05-12 10:06:05 -04:00
Clebert Suconic
ce61d20f5a
[maven-release-plugin] prepare for next development iteration
2017-05-08 15:20:12 -04:00
Clebert Suconic
64e8f015ee
[maven-release-plugin] prepare release 2.1.0
2017-05-08 15:20:01 -04:00
Clebert Suconic
36c9659279
[maven-release-plugin] prepare for next development iteration
2017-05-05 22:11:09 -04:00
Clebert Suconic
7b5082639f
[maven-release-plugin] prepare release 2.1.0
2017-05-05 22:10:58 -04:00
Justin Bertram
073a280629
ARTEMIS-1092 Validated user + AMQP fix
...
When populate-validated-user = true AMQP messages can cause exceptions.
This feature isn't particularly applicable to AMQP so this commit
eliminates the exception and leaves the AMQP messages untouched
even if populate-validated-user = true. In other words,
populate-validated-user + AMQP is not supported.
2017-04-04 14:46:22 -05:00
Justin Bertram
427039ef38
ARTEMIS-1068 routingType + AMQP fixes
2017-03-24 15:15:10 -05:00
Martyn Taylor
c40823e5ec
[maven-release-plugin] prepare for next development iteration
2017-03-10 14:54:33 +00:00
Martyn Taylor
70e319d6e3
[maven-release-plugin] prepare release 2.0.0
2017-03-10 14:52:26 +00:00
Martyn Taylor
f1a5f1caf9
Revert "[maven-release-plugin] prepare release 2.0.0"
...
This reverts commit 057047499b
.
2017-03-10 14:45:29 +00:00
Martyn Taylor
1964abe567
Revert "[maven-release-plugin] prepare for next development iteration"
...
This reverts commit 9a52f51c9f
.
2017-03-10 14:44:58 +00:00
Martyn Taylor
9a52f51c9f
[maven-release-plugin] prepare for next development iteration
2017-03-10 11:36:36 +00:00
Martyn Taylor
057047499b
[maven-release-plugin] prepare release 2.0.0
2017-03-10 11:25:47 +00:00
Clebert Suconic
a41a1930ef
ARTEMIS-1009 AMQP shouldn't use application properties
...
As part of my refactoring on AMQP, the broker shouldn't rely on Application properties
for any broker semantic changes on delivery.
I am removing any access to those now, so we can properly deal with this post 2.0.0.
2017-03-09 12:27:39 -05:00
Jiri Danek
84dfa24e38
ARTEMIS-1017 reword error message
...
reword error message when default destination for producer is not specified
2017-03-06 15:18:00 -05:00
Clebert Suconic
fe0ca4d84f
ARTEMIS-1009 Pure Message Encoding.
...
with this we could send and receive message in their raw format,
without requiring conversions to Core.
- MessageImpl and ServerMessage are removed as part of this
- AMQPMessage and CoreMessage will have the specialized message format for each protocol
- The protocol manager is now responsible to send the message
- The message will provide an encoder for journal and paging
2017-03-05 23:08:53 -05:00
Justin Bertram
01465035c0
ARTEMIS-970 handle indeterminate JMS destination
2017-02-23 12:55:27 -05:00
Justin Bertram
0b829558b3
ARTEMIS-989 JMS2 context support custom session modes
2017-02-23 11:39:23 -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
Justin Bertram
ff3e75d148
NO-JIRA move RoutingType to different package
2017-02-13 09:50:41 -06:00
Justin Bertram
8cf94623a4
ARTEMIS-922 Rename deleteOnNoConsumers throughout
...
The name "deleteOnNoConsumers" isn't a good match for the semantics underneath.
The name "purgeOnNoConsumers" (and variants) is a better fit.
2017-01-17 11:40:56 -06:00
Clebert Suconic
b9a7e152f7
ARTEMIS-900 fix compatibility after address changes
2016-12-21 19:40:35 -05:00
Clebert Suconic
dc472192f4
ARTEMIS-882 Supporting lists on URIs
2016-12-09 16:20:01 -05:00
Martyn Taylor
6682072da6
Major Version Bump 2.0.0 After Major Arch Change
2016-12-09 18:43:15 +00:00
jbertram
fe52ca6d75
ARTEMIS-881 Support new address-settings for auto-create queue
2016-12-09 18:43:15 +00:00
jbertram
b742a357c5
ARTEMIS-876 Deprecate JMSServerManager and update JMS bootstrap
2016-12-09 18:43:15 +00:00
jbertram
683ae68989
ARTEMIS-789 Fix Failing Tests
2016-12-09 18:43:15 +00:00
Martyn Taylor
a20b23bf37
ARTEMIS-787 Update CORE Protocol/Client Packets
2016-12-09 18:43:15 +00:00
Martyn Taylor
279383a798
ARTEMIS-780 Update Shared Queue API to use Address model
2016-12-09 18:43:15 +00:00
Martyn Taylor
7a51491c32
ARTEMIS-780 Added ability to define 2 Routing Types on a single addres
2016-12-09 18:43:15 +00:00
jbertram
0861be14c1
ARTEMIS-789 Fix various failing tests due to addressing changes
2016-12-09 18:43:15 +00:00
jbertram
a88853fe53
ARTEMIS-788 Stomp refactor + track autocreation for addresses
2016-12-09 18:43:15 +00:00
Andy Taylor
0189f156ec
ARTEMIS-876 Remove JMS JMX Objects and add new Address JMX objects
2016-12-09 18:43:15 +00:00
Martyn Taylor
0006627d12
ARTEMIS-876 Internalise Cluster Namespace and remove JMS Prefix
2016-12-09 18:43:15 +00:00
jbertram
84e8a87325
ARTEMIS-876 Remove all reliances on JMS prefixing
2016-12-09 18:43:15 +00:00
Clebert Suconic
ebbc91c728
[maven-release-plugin] prepare for next development iteration
2016-12-06 16:59:52 -05:00
Clebert Suconic
5bcbea2517
[maven-release-plugin] prepare release 1.5.1
2016-12-06 09:47:43 -05:00
Clebert Suconic
f2db1c4337
[maven-release-plugin] prepare for next development iteration
2016-11-03 15:35:05 -04:00
Clebert Suconic
13a8a2bd40
[maven-release-plugin] prepare release 1.5.0
2016-11-03 15:34:54 -04:00
Clebert Suconic
e71f3d8a34
ARTEMIS-756 disabling finalize check over CDI Connection Factories
2016-10-24 10:37:27 -04:00
Clebert Suconic
a074f9f1a5
ARTEMIS-753 Queue Pause and Resumed persisted
2016-10-21 20:26:23 -04:00
jbertram
0df30712b9
ARTEMIS-808 use privileges to stop executor
2016-10-18 17:45:33 -04:00
Ville Skyttä
ddd1559fbe
javadoc: Fix doclint empty <p> warnings
2016-10-10 10:02:49 +02:00
Ville Skyttä
9a439b4791
javadoc: Fix doclint reference errors
2016-10-10 10:02:49 +02:00
Clebert Suconic
ec48f9ed00
ARTEMIS-765 Improve Checkstyle
2016-09-30 11:12:09 -04:00
Ville Skyttä
e98da5f288
Make bunch of private fields final
2016-09-23 09:06:08 -04:00
Clebert Suconic
505b732843
[maven-release-plugin] prepare for next development iteration
2016-09-06 12:17:31 -04:00
Clebert Suconic
b305e231ec
[maven-release-plugin] prepare release 1.4.0
2016-09-06 12:17:08 -04:00
Clebert Suconic
3668050c8c
Fixing compilation issues
2016-08-25 15:10:17 -04:00
Ville Skyttä
d57378f2af
Missing @Override fixes
2016-08-25 14:22:32 -04:00
Ville Skyttä
9d0dcf7f63
Unchecked warning suppression fixes
2016-08-25 14:22:32 -04:00
Ville Skyttä
30c617da3c
Unnecessary @SuppressWarnings fixes
2016-08-25 14:22:32 -04:00
Clebert Suconic
a3840c23c3
[maven-release-plugin] prepare for next development iteration
2016-08-16 11:59:55 -04:00
Clebert Suconic
d38ef19bf6
[maven-release-plugin] prepare release 1.4.0
2016-08-16 11:59:36 -04:00
Howard Gao
0535218cfc
ARTEMIS-604 - Message Serialization Improvement
...
- JMS and RA fixes
2016-08-09 11:22:48 +01:00
Clebert Suconic
5d11967ed4
ARTEMIS-659 Remove unneeded CDI dependency
2016-08-01 15:50:39 -04:00
Ville Skyttä
c890164fda
Use try-with-resources some more
2016-07-29 15:32:57 -04:00
jbertram
4f95c8a64a
ARTEMIS-405 more bits of JMX doc
2016-07-28 15:18:11 -04:00
Clebert Suconic
8873744d27
ARTEMIS-565 fixing JMS Control stuff
2016-07-27 19:14:32 -04:00
jbertram
3914f1aa8b
ARTEMIS-647 track 'killed' msg count on queue
...
A 'killed' message is one that has been sent to a dead-letter address
or otherwise removed from the queue due to exceeding the max delivery
attempts.
2016-07-27 16:44:59 -04:00
jbertram
32abe61876
ARTEMIS-646 track expired msg count on queue
2016-07-26 16:15:02 -05:00
jbertram
1de4dbbe27
ARTEMIS-565 fix more broken Json stuff
2016-07-26 14:31:50 -04:00
John D. Ament
d0ecf0f3a5
ARTEMIS-565 Replace json.org with javax.json
...
Javax.json is a newer JSR, but has an ASF compliant version, is pretty close to the original JSON.org API and will support a standard annotation based JSON-B solution at some point soon.
Updated integration tests and removed JSON.org from license.
2016-07-25 21:44:57 -04:00
jbertram
27ef1b2bf0
ARTEMIS-405 more docs for JMS destinations
2016-07-21 16:58:41 +01:00