activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martyn Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ARTEMIS-1370) consumer command, does not offer a ClientID command line arg
Date Wed, 30 Aug 2017 19:31:00 GMT

     [ https://issues.apache.org/jira/browse/ARTEMIS-1370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martyn Taylor resolved ARTEMIS-1370.
------------------------------------
    Resolution: Fixed

> 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)

Mime
View raw message