Commit Graph

366 Commits

Author SHA1 Message Date
Clebert Suconic 24876d3fd1 NO-JIRA fixing checkstyle on example 2017-12-20 20:48:23 -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
Clebert Suconic fe537fa257 NO-JIRA removing example added by accident 2017-12-18 22:12:40 -05:00
Clebert Suconic 9ef90f8def ARTEMIS-1546 Adding tests to validate compatibility
https://issues.apache.org/jira/browse/ARTEMIS-1546

- the dependency scan is changed to allow adding an extra repository
- adding groovy so we won't require compilation dependencies (just runtime)
  without needing reflection (thanks Groovy :) )
- Adding hornetq to the mesh of version tests
2017-12-18 22:04:37 -05:00
Justin Bertram a685bf6e5c ARTEMIS-1562 update docs for slow-consumer example 2017-12-18 11:34:11 +00:00
Jiri Danek 0a2e143de5 ARTEMIS-1463 Fix broker's mBean domain name 2017-12-18 11:30:18 +00:00
Justin Bertram b77cdaf773 ARTEMIS-1562 Refactor example documentation
This commit contains these changes:
* Change example documentation to use markdown
* Generate HTML doc based on markdown during release
* Fix XML formatting in some examples
* Repair out-of-date documentation
2017-12-15 14:54:16 +00:00
Pat Fox 8ccefba435 ARTEMIS-1563 Slow Consumer example for Slow Consumer policy KILL and NOTIFY 2017-12-15 14:36:55 +00:00
raul.valdoleiros 46b642447c ARTEMIS-1523 wildcard binding configured wrong
Bindings with wildcards are not configured with the proper
message-load-balancing type.
2017-12-12 09:33:00 -06:00
Clebert Suconic 9c4b715aed ARTEMIS-1542 adding example to replicate clustered issue with AMQP and CPP clients 2017-12-11 11:06:39 -05:00
Justin Bertram f53e411dad ARTEMIS-1525 refactor embedded examples 2017-11-27 10:55:16 -06:00
Justin Bertram 55d7260a07 ARTEMIS-1510 refactor Maven poms
Clean up unused declared dependencies and undeclared dependencies which
are pulled in transitively.
2017-11-13 17:03:35 -05:00
Pat Fox 21f217df72 NO-JIRA minor updates to sample, so it works as described in comments
- FILESIZE was set to 1 MiB instead of 2 GiB
I had a look at the previous change to FILE_SIZE and my guess is the change was included in a commit as an oversight. Please let me know if the file size was meant to be reduced and I will modify the PR to reflect that.

- ?minLargeMessageSize=10240 was omitted from URL.
2017-11-06 11:27:20 -05: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 0413b8c488 NO-JIRA fix new example poms 2017-11-01 00:11:46 -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 cd99aba48b ARTEMIS-1488 add 'all' client jar to distribution 2017-10-31 14:44:37 +00:00
Justin Bertram b07588a020 ARTEMIS-1467 clean up example
- Rename example project
- Leverage built-in 5.x Camel support instead of using WAR
- Clarify instructions
- Fix pom names/structure
2017-10-27 16:44:12 +01:00
Stanislav Knot 7dab171d0f ARTEMIS-1467 example for bridging messages from the 5.x broker to Artemis 2017-10-26 10:42:22 -05:00
Justin Bertram c2f0c152cc NO-JIRA fix parameter name in HTTP example 2017-10-25 12:45:48 -05:00
Andy Taylor a64d7c2e42 ARTEMIS-1463 - added SSL example + docs
also added support for anon login

https://issues.apache.org/jira/browse/ARTEMIS-1463
2017-10-18 15:24:44 -05:00
Andy Taylor 12ad0120ad ARTEMIS-1463 - add role based authentication to the JMX objects
some example fixes

https://issues.apache.org/jira/browse/ARTEMIS-1463
2017-10-17 10:02:46 +01:00
Andy Taylor 62a2b14dd0 ARTEMIS-1463 - add role based authentication to the JMX objects
This is done by creating a guard and using JAAS to check for access to mbean objects and their methods.

NB this also implements https://issues.apache.org/jira/browse/ARTEMIS-534

https://issues.apache.org/jira/browse/ARTEMIS-1463
2017-10-16 15:39:38 +01:00
Clebert Suconic e31f447032 ARTEMIS-1461 Allow changing of messages through interceptors 2017-10-11 21:01:48 -04:00
Michael Andre Pearce 4db8cd54ca ARTEMIS-1446 - Support Transformer configuration by properties
Update Tranformer to be able to handle initiation via propertiers (map<string, string>)
Update Configuration to have more specific transfromer configuration type, and to take properties.
Support back compatibility.
Add AddHeadersTransformer which is a main use case, and can act as example also.
Update Control's to expose new property configuration
Add test cases
Update examples for new transformer config style
2017-10-09 17:29:10 -04:00
Justin Bertram b6ce1c65fb ARTEMIS-1426 update stomp.js for chat example
Our copy of the stomp.js library hasn't been updated since the end of
2012. Lots of nice changes have been made since then. Pulled from
https://github.com/jmesnil/stomp-websocket/blob/master/lib/stomp.js.
2017-09-22 13:10:54 -04:00
Stanislav Knot 12f085a934 ARTEMIS-1385 fixed incomplete comment and typo (appendix) 2017-09-06 10:24:43 -04: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
Anton Podviaznikov 8840e65693 NO-JIRA: fix typo in the comment 2017-09-01 17:24:18 -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
Justin Bertram 605ab08c05 ARTEMIS-1371 update JGroups stack files 2017-08-25 22:46:13 -04:00
Justin Bertram 3d89a5eb21 NO-JIRA MQTT interceptor example checkstyle 2017-08-22 22:08:24 -04:00
Otavio R. Piske 654ea69e78 Implement support for intercepting additional MQTT control packets
Previously, only the PUBLISH packet was intercepted. This patch modifies
the code to add support for the other incoming/outgoing MQTT control
packets.
2017-08-17 10:11:21 -05:00
Jiri Danek 48f50fccbe NO-JIRA Updates to management.md doc
* add Jolokia to the initial list of ways to access management API
* remove mentions of core queues, etc. (pre-addressing change)
* activemq.notifications can be consumed with any client
* activemq.management can be accessed only with Core or Core JMS clients
* *.management.*Control are interfaces, not classes
* remove ObjectNames from the summary of management methods.
    IMO that made the short paragraphs hard to read.
    And one can intuitively find them in jconsole,
    or use the Builder class to construct them in code.
* move the note about empty filter to the queue management section
* add code snippet for creating ObjectName with ObjectNameBuilder
* mention web console and bin/artemis for interactive management
* fix few typos
2017-08-08 13:37:08 -04:00
Justin Bertram e3aa71a1a0 Fix REST examples 2017-08-07 18:47:33 -04:00
Clebert Suconic d055411f21 NO-JIRA use URIs on the example 2017-08-03 11:25:25 -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
Jiri Danek 006c31ffec NO-JIRA Fix documentation for <broadcast-group> <connection-ref> ...
Followup to #553, eliminate all occurrences of the old connector-ref
 config (that used to use connector-name attribute) in broker.xml.
2017-07-24 09:52:09 -04:00
Clebert Suconic d4a5c70aa5 ARTEMIS-1189 fixing checkstyle 2017-05-30 17:00:33 -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 9c6df111e8 ARTEMIS-1129: Client Dependencies
Update examples where only client used, to use the shaded single client jar.
2017-05-17 18:02:33 -04:00
Andy Taylor d17ef14c90 ARTEMIS-1169 - Implement Interceptors for the AMQP protocol
https://issues.apache.org/jira/browse/ARTEMIS-1169
2017-05-17 14:07:23 -05:00
Timothy Bish 6f34622cd9 ARTEMIS-1153 Adds new .NET client example for durable subscriptions
Adds an example for managing durable subscriptions using the .NET
AmqpNetLite client that subscribes, looks up and removes a durable topic
subscription.
2017-05-08 18:39:00 -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
Clebert Suconic dd27fb587f ARTEMIS-1089 Moving smoke tests under ./tests/smoke-tests
This is moving the smoke tests creates as part of the relication tests.

They are also now based on junit tests.

And to support starting servers I am exposing basedir to unit tests in general.
2017-04-05 13:06:55 +01:00
Clebert Suconic 739dd82f31 ARTEMIS-1089 Adding test for replication sync slow 2017-04-02 20:20:45 -04:00
Otavio Rodolfo Piske 20c67baa5a ARTEMIS-607 Added an example/verification for calling an interceptor when using MQTT protocol 2017-03-30 10:15:50 +01: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 1ece044dfc ARTEMIS-1021 Improving CPP to produce a TextMessage using UTF-8 2017-03-09 13:45:12 -06:00
Clebert Suconic b851a59ec5 ARTEMIS-1009 Fixing example 2017-03-06 22:09:41 -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
Clebert Suconic c1fa5d07c7 ARTEMIS-1019 Removing Aeroegear
Aeroegear has other ways to use Artemis
2017-03-05 22:57:49 -05:00
Clebert Suconic c0fe187666 ARTEMIS-1019 removing vertx integration 2017-03-05 22:57:07 -05:00
Justin Bertram c08dbba7be NO-JIRA fix-up security example 2017-02-21 22:22:12 -05:00
Justin Bertram dbf952d0ec NO-JIRA fix STOMP websocket example 2017-02-20 20:54:15 -05:00
Justin Bertram 150a5916cd ARTEMIS-953 fix examples 2017-02-13 09:51:31 -06:00
Clebert Suconic ee9e717b51 NO-JIRA: typo on doc for example 2017-02-03 23:31:03 -05:00
Clebert Suconic 781e5e64a4 NO-JIRA: Adding .net example 2017-02-03 23:22:52 -05:00
Clebert Suconic fb75df0c01 ARTEMIS-929 Fixing Topic example 2017-01-19 12:44:44 -05:00
Justin Bertram d891fa5f83 ARTEMIS-873 update broker configs w/new notation 2017-01-19 11:16:06 -06:00
Andy Taylor 23b54d4f6c ARTEMIS-785 - update examples to new addressing model
https://issues.apache.org/jira/browse/ARTEMIS-785
2016-12-15 13:36:23 +00:00
Martyn Taylor 6682072da6 Major Version Bump 2.0.0 After Major Arch Change 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 0861be14c1 ARTEMIS-789 Fix various failing tests due to addressing changes 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
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
Andy Taylor 5255054144 NO-JIRA: fixing example configuration 2016-11-28 09:06:06 -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 64f43b47b6 NO-JIRA Updating Proton and qpid-jms on missing poms 2016-11-02 19:18:52 -04:00
Clebert Suconic b23207c019 ARTEMIS-756 Moving Client CDI as a main module 2016-10-24 12:12:18 -04:00
Clebert Suconic 35759725fe fixing checkstyle 2016-10-24 12:07:43 -04:00
Clebert Suconic 1eb3c70aca ARTEMIS-756 removing broker.xml from examples as it can use the standard one from the cli create 2016-10-24 10:47:02 -04:00
John D. Ament 2ee742bd75 ARTEMIS-756 Introduced an example for CDI integration, added a README to explain how it works. 2016-10-24 10:37:27 -04:00
Antoine Toulme 6a9e4c05e8 Example showing how to use + in topics 2016-10-14 10:23:22 +01:00
Francesco Nigro c69bf09fe0 ARTEMIS-774 Fixed format of JMeter benchmark
Moved the Apache Licence header after the XML Declaration.
2016-10-07 10:53:33 -04:00
Ville Skyttä 082b75bb3d More use of try-with-resources 2016-09-30 13:17:26 -04:00
Clebert Suconic ec48f9ed00 ARTEMIS-765 Improve Checkstyle 2016-09-30 11:12:09 -04:00
Martyn Taylor aca1733660 ARTEMIS-757 Fix STOMP with interceptor example 2016-09-28 12:18:27 -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
Ville Skyttä e1728f0797 Spelling 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
bayern39 b94fb67a92 [ARTEMIS-675] incorrect commentary in examples 2016-08-10 17:33:22 +08:00