You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (Jira)" <ji...@apache.org> on 2019/08/26 15:29:02 UTC

[jira] [Closed] (ARTEMIS-2403) Consumer command, clientID is not saved during JMS exception

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

clebert suconic closed ARTEMIS-2403.
------------------------------------

> Consumer command, clientID is not saved during JMS exception
> ------------------------------------------------------------
>
>                 Key: ARTEMIS-2403
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2403
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.9.0
>            Reporter: Shailendra Kumar singh
>            Priority: Minor
>             Fix For: 2.10.0
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> clientID is not saved during JMS exception
> {code:java}
> [shsingh@shsingh bin]$ ./artemis consumer --destination topic://Multicast --message-count 10 --clientID test_Demo --durable
> Consumer:: filter = null
> Consumer:: clientID = test_Demo
> Connection failed::AMQ229031: Unable to validate user from /127.0.0.1:46362. Username: null; SSL certificate subject DN: unavailable
> --user: is a mandatory property!
> Type the username for a retry
> admin
> --password: is mandatory with this configuration:
> Type the password for a retry
> Consumer ActiveMQTopic[Multicast], thread=0 wait until 10 messages are consumed
> javax.jms.IllegalStateException: Cannot create durable subscription - client ID has not been set
> 	at org.apache.activemq.artemis.jms.client.ActiveMQSession.createConsumer(ActiveMQSession.java:848)
> 	at org.apache.activemq.artemis.jms.client.ActiveMQSession.createDurableSubscriber(ActiveMQSession.java:583)
> 	at org.apache.activemq.artemis.jms.client.ActiveMQSession.createDurableSubscriber(ActiveMQSession.java:557)
> 	at org.apache.activemq.artemis.cli.commands.messages.ConsumerThread.consume(ConsumerThread.java:171)
> 	at org.apache.activemq.artemis.cli.commands.messages.ConsumerThread.run(ConsumerThread.java:67)
> Consumer ActiveMQTopic[Multicast], thread=0 Consumer thread finished
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)