You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/08/23 10:08:00 UTC
[jira] [Commented] (ARTEMIS-1370) consumer command, does not offer
a ClientID command line arg
[ https://issues.apache.org/jira/browse/ARTEMIS-1370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16138181#comment-16138181 ]
ASF GitHub Bot commented on ARTEMIS-1370:
-----------------------------------------
GitHub user pgfox opened a pull request:
https://github.com/apache/activemq-artemis/pull/1488
ARTEMIS-1370 - consumer command, does not offer a ClientID command line…
… arg
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pgfox/activemq-artemis consumer_command_clientID
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1488.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 #1488
----
commit 8e5e20de0dc04515f17388148dd77404009d5192
Author: Pat Fox <pa...@gmail.com>
Date: 2017-08-23T10:02:26Z
ARTEMIS-1370 consumer command, does not offer a ClientID command line arg
----
> consumer command, does not offer a ClientID command line arg
> -------------------------------------------------------------
>
> Key: ARTEMIS-1370
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1370
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 2.3.0
> Reporter: Pat Fox
> Priority: Minor
>
> using
> {code}
> ./artemis consumer --destination topic://myexample --durable
> {code}
> it gives me
> {code}
> javax.jms.IllegalStateException: Cannot create durable subscription - client ID has not been set
> at org.apache.activemq.artemis.jms.client.ActiveMQSession.createConsumer(ActiveMQSession.java:746)
> at org.apache.activemq.artemis.jms.client.ActiveMQSession.createDurableSubscriber(ActiveMQSession.java:484)
> at org.apache.activemq.artemis.jms.client.ActiveMQSession.createDurableSubscriber(ActiveMQSession.java:458)
> at org.apache.activemq.artemis.cli.commands.messages.ConsumerThread.consume(ConsumerThread.java:140)
> at org.apache.activemq.artemis.cli.commands.messages.ConsumerThread.run(ConsumerThread.java:64)
> {code}
> There currently seems no command line option available to set a client id when running artemis consumer.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)