Re: Embedding REST
I recommend you put the documentation in the existing chapter on REST [1]. Justin [1] https://github.com/apache/activemq-artemis/blob/master/docs/user-manual/en/rest.md - Original Message - From: "Julien d" To: dev@activemq.apache.org Sent: Friday, April 29, 2016 3:12:22 PM Subject: Re: Embedding REST Thank you Justin. Where do you think it would be best to document embedding REST once I am more familiar with it? Regards, Julien D. Alternative email address : julie...@protonmail.ch On 04/29/2016 05:59 PM, Justin Bertram wrote: > You need to connect to the embedded HTTP server which, by default, listens > on 8081. >
Re: Embedding REST
Thank you Justin. Where do you think it would be best to document embedding REST once I am more familiar with it? Regards, Julien D. Alternative email address : julie...@protonmail.ch On 04/29/2016 05:59 PM, Justin Bertram wrote: > You need to connect to the embedded HTTP server which, by default, listens > on 8081. > 0x84AE7709.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature
[GitHub] activemq-artemis pull request: ARTEMIS-510 create queue only on ro...
GitHub user jbertram opened a pull request: https://github.com/apache/activemq-artemis/pull/498 ARTEMIS-510 create queue only on route You can merge this pull request into a Git repository by running: $ git pull https://github.com/jbertram/activemq-artemis ARTEMIS-510 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/activemq-artemis/pull/498.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #498 commit cd99bd4a4af57937ddb292469085b339b3f07b45 Author: jbertram Date: 2016-04-29T17:04:14Z ARTEMIS-510 create queue only on route --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] activemq-artemis pull request: Change keep alive ratio to 1.5 from...
GitHub user incarosegit opened a pull request: https://github.com/apache/activemq-artemis/pull/497 Change keep alive ratio to 1.5 from 0.75 Fixes: ARTEMIS-397 From mqtt specs: âIf the Keep Alive value is non-zero and the Server does not receive a Control Packet from the Client within one and a half times the Keep Alive time period, it MUST disconnect the Network Connection to the Client as if the network had failed [MQTT-3.1.2-24]. â You can merge this pull request into a Git repository by running: $ git pull https://github.com/incarosegit/activemq-artemis master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/activemq-artemis/pull/497.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #497 commit 6bdad3db2a8e19069f7d1d5b44c97ceb0fc05b92 Author: Diego Bes Date: 2016-04-29T15:43:25Z Change keep alive ratio to 1.5 from 0.75 Fixes: ARTEMIS-397 From mqtt specs: âIf the Keep Alive value is non-zero and the Server does not receive a Control Packet from the Client within one and a half times the Keep Alive time period, it MUST disconnect the Network Connection to the Client as if the network had failed [MQTT-3.1.2-24]. â --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
Proposed Enhancement - add option to have Composite Destinations set the originalDestination header
I use Composite Destinations as wiretaps for an auditing system and it would be very helpful if the forwarded message had the original destination name on it. I’ve found where I can make the additions for this to work, but I don’t know what I need to change to add an attribute to the compositeTopic and compositeQueue elements in the configuration XML. Can someone point me in the right direction?
Re: [VOTE] Apache ActiveMQ 5.13.3 #2
+1 Regards -- Dejan Bosanac about.me/dejanb On Thu, Apr 28, 2016 at 9:03 PM, Matt Pavlovich wrote: > +1 > > Compiled and spot checked tests on OSX > > > On 4/28/16 8:16 AM, Christopher Shannon wrote: > >> I have merged in the fix for the failing test and re-cut the release. >> >> The list of resolved issues is here: >> >> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311210&version=12335045 >> >> You can get binary distributions here: >> >> https://repository.apache.org/content/repositories/orgapacheactivemq-1092/org/apache/activemq/apache-activemq/5.13.3/ >> >> Source archives are here: >> >> https://repository.apache.org/content/repositories/orgapacheactivemq-1092/org/apache/activemq/activemq-parent/5.13.3/ >> >> Maven repository is at: >> https://repository.apache.org/content/repositories/orgapacheactivemq-1092/ >> >> Source tag: >> * >> https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=commit;h=f2f130b3c878d498cb561f7d4fa4613da56e7761 >> < >> https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=commit;h=f2f130b3c878d498cb561f7d4fa4613da56e7761 >> >* >> >> Please vote to approve this release. The vote will remain open for 96 >> hours. >> >> [ ] +1 Release the binary as Apache ActiveMQ 5.13.3 >> [ ] -1 (provide specific comments) >> >> Here's my +1 >> >> >
Re: Embedding REST
You're attempting to connect to the port 61616 which is not for REST clients. You need to connect to the embedded HTTP server which, by default, listens on 8081. Justin - Original Message - From: "Julien d" To: dev@activemq.apache.org Sent: Friday, April 29, 2016 3:19:38 AM Subject: Embedding REST Hello, After trying Justin's example [1]. I cannot get any reply from the embedded REST server. curl -I http://localhost:61616/queues/jms.queue.orders -> the command hangs. And same goes with the REST example then. What could be wrong with the embedded server? Thank you for your patience, I am quite new to ActiveMQ in general and this part is not yet documented to my knowledge. I am currently working on my master thesis in order to have a proof-of-concept of a context aware pub/sub. Regards, Julien [1] https://github.com/jbertram/activemq-artemis/commit/875b8764aabb13794578c8c436b4cdc527502d59 Julien D. Alternative email address : julie...@protonmail.ch On 04/26/2016 09:29 PM, Justin Bertram wrote: > I'm not exactly sure why you're getting that exception. I just created a > simple, Mavenized example demonstrating how to create an embedded REST server > here [1]. Try that out. > > > Justin > > [1] > https://github.com/jbertram/activemq-artemis/commit/875b8764aabb13794578c8c436b4cdc527502d59 > > - Original Message - > From: "Julien d" > To: dev@activemq.apache.org > Sent: Tuesday, April 26, 2016 12:50:17 PM > Subject: Re: Need help with > org.apache.activemq.artemis.rest.integration.EmbeddedRestActiveMQ > > Here it is : > > /usr/lib/jvm/java-8-openjdk/bin/java -Didea.launcher.port=7533 > -Didea.launcher.bin.path=/usr/share/intellij-idea-ultimate-edition/bin > -Dfile.encoding=UTF-8 -classpath > > /usr/lib/jvm/java-8-openjdk/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/management-agent.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/rt.jar:/home/johnny/IdeaProjects/activemq-artemis-master/artemis-rest/target/classes:/home/johnny/.m2/repository/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar:/home/johnny/.m2/repository/org/jboss/resteasy/resteasy-jaxrs/3.0.16.Final/resteasy-jaxrs-3.0.16.Final.jar:/home/johnny/.m2/repository/org/jboss/spec/javax/ws/rs/jboss-jaxrs-api_2.0_spec/1.0.0.Final/jboss-jaxrs-api_2.0_spec-1.0.0.Final.jar:/home/johnny/.m2/repository/org/jboss/spec/javax/annotation/jboss-annotations-api_1.2_spec/1.0.0.Final/jboss-annotations-api_1.2_spec-1.0.0.Final.jar:/home/johnny/.m2/repository/javax/activation/activation/1.1.1/activation-1.1.1.jar:/home/johnny/.m2/repository/org/apache/httpcomponents/httpclient/4.3.6/httpclient-4.3.6.jar:/home/johnny/.m2/repository/org/apache/httpcomponents/httpcore/4.3.3/httpcore-4.3.3.jar:/home/johnny/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/home/johnny/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar:/home/johnny/.m2/repository/commons-io/commons-io/2.1/commons-io-2.1.jar:/home/johnny/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar:/home/johnny/.m2/repository/org/jboss/resteasy/resteasy-jaxb-provider/3.0.16.Final/resteasy-jaxb-provider-3.0.16.Final.jar:/home/johnny/.m2/repository/org/jboss/resteasy/resteasy-jackson-provider/3.0.16.Final/resteasy-jackson-provider-3.0.16.Final.jar:/home/johnny/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.12/jackson-core-asl-1.9.12.jar:/home/johnny/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.12/jackson-mapper-asl-1.9.12.jar:/home/johnny/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.9.12/jackson-jaxrs-1.9.12.jar:/home/johnny/.m2/repository/org/codehaus/jackson/jackson-xc/1.9.12/jackson-xc-1.9.12.jar:/home/johnny/.m2/repository/org/jboss/resteasy/resteasy-atom-provider/3.0.16.Final/resteasy-atom-provider-3.0.16.Final.jar:/home/johnny/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.7/jaxb-impl-2.2.7.jar:/home/johnny/.m2/repository/com/sun/xml/bind/jaxb-core/2.2.7/jaxb-core-2.2.7.jar:/home/johnny/.m2/repository/javax/xml/bind/jaxb-api/2.2.7/jaxb-api-2.2.7.jar:/home/johnny/.m2/repository/com/sun/istack/istack-commons-runtime/2.16/istack-commons-runtime-2.16.jar:/home/johnny/.m2/repository/com/sun/xml/fastinfoset/FastInfoset/1.2.12/FastInfoset-1.2.12.jar:/home/johnny/.m2/repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar:/home/johnny/.m2/repo
Embedding REST
Hello, After trying Justin's example [1]. I cannot get any reply from the embedded REST server. curl -I http://localhost:61616/queues/jms.queue.orders -> the command hangs. And same goes with the REST example then. What could be wrong with the embedded server? Thank you for your patience, I am quite new to ActiveMQ in general and this part is not yet documented to my knowledge. I am currently working on my master thesis in order to have a proof-of-concept of a context aware pub/sub. Regards, Julien [1] https://github.com/jbertram/activemq-artemis/commit/875b8764aabb13794578c8c436b4cdc527502d59 Julien D. Alternative email address : julie...@protonmail.ch On 04/26/2016 09:29 PM, Justin Bertram wrote: > I'm not exactly sure why you're getting that exception. I just created a > simple, Mavenized example demonstrating how to create an embedded REST server > here [1]. Try that out. > > > Justin > > [1] > https://github.com/jbertram/activemq-artemis/commit/875b8764aabb13794578c8c436b4cdc527502d59 > > - Original Message - > From: "Julien d" > To: dev@activemq.apache.org > Sent: Tuesday, April 26, 2016 12:50:17 PM > Subject: Re: Need help with > org.apache.activemq.artemis.rest.integration.EmbeddedRestActiveMQ > > Here it is : > > /usr/lib/jvm/java-8-openjdk/bin/java -Didea.launcher.port=7533 > -Didea.launcher.bin.path=/usr/share/intellij-idea-ultimate-edition/bin > -Dfile.encoding=UTF-8 -classpath > > /usr/lib/jvm/java-8-openjdk/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/management-agent.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/rt.jar:/home/johnny/IdeaProjects/activemq-artemis-master/artemis-rest/target/classes:/home/johnny/.m2/repository/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar:/home/johnny/.m2/repository/org/jboss/resteasy/resteasy-jaxrs/3.0.16.Final/resteasy-jaxrs-3.0.16.Final.jar:/home/johnny/.m2/repository/org/jboss/spec/javax/ws/rs/jboss-jaxrs-api_2.0_spec/1.0.0.Final/jboss-jaxrs-api_2.0_spec-1.0.0.Final.jar:/home/johnny/.m2/repository/org/jboss/spec/javax/annotation/jboss-annotations-api_1.2_spec/1.0.0.Final/jboss-annotations-api_1.2_spec-1.0.0.Final.jar:/home/johnny/.m2/repository/javax/activation/activation/1.1.1/activation-1.1.1.jar:/home/johnny/.m2/repository/org/apache/httpcomponents/httpclient/4.3.6/httpclient-4.3.6.jar:/home/johnny/.m2/repository/org/apache/httpcomponents/httpcore/4.3.3/httpcore-4.3.3.jar:/home/johnny/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/home/johnny/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar:/home/johnny/.m2/repository/commons-io/commons-io/2.1/commons-io-2.1.jar:/home/johnny/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar:/home/johnny/.m2/repository/org/jboss/resteasy/resteasy-jaxb-provider/3.0.16.Final/resteasy-jaxb-provider-3.0.16.Final.jar:/home/johnny/.m2/repository/org/jboss/resteasy/resteasy-jackson-provider/3.0.16.Final/resteasy-jackson-provider-3.0.16.Final.jar:/home/johnny/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.12/jackson-core-asl-1.9.12.jar:/home/johnny/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.12/jackson-mapper-asl-1.9.12.jar:/home/johnny/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.9.12/jackson-jaxrs-1.9.12.jar:/home/johnny/.m2/repository/org/codehaus/jackson/jackson-xc/1.9.12/jackson-xc-1.9.12.jar:/home/johnny/.m2/repository/org/jboss/resteasy/resteasy-atom-provider/3.0.16.Final/resteasy-atom-provider-3.0.16.Final.jar:/home/johnny/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.7/jaxb-impl-2.2.7.jar:/home/johnny/.m2/repository/com/sun/xml/bind/jaxb-core/2.2.7/jaxb-core-2.2.7.jar:/home/johnny/.m2/repository/javax/xml/bind/jaxb-api/2.2.7/jaxb-api-2.2.7.jar:/home/johnny/.m2/repository/com/sun/istack/istack-commons-runtime/2.16/istack-commons-runtime-2.16.jar:/home/johnny/.m2/repository/com/sun/xml/fastinfoset/FastInfoset/1.2.12/FastInfoset-1.2.12.jar:/home/johnny/.m2/repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar:/home/johnny/.m2/repository/org/jboss/resteasy/tjws/3.0.16.Final/tjws-3.0.16.Final.jar:/home/johnny/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar:/home/johnny/.m2/repository/io/netty/netty-all/4.0.32.Final/netty-all-4.0.32.Final.jar:/home/johnny/.m2/repository/org/apache/activemq/artemis-server/1.3.0-SNAPSHOT/artemi