[ 
https://issues.apache.org/jira/browse/ARTEMIS-2403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873612#comment-16873612
 ] 

ASF subversion and git services commented on ARTEMIS-2403:
----------------------------------------------------------

Commit 705f1db17b7fd198bf5bdf48a181cd173ce7334d in activemq-artemis's branch 
refs/heads/master from Clebert Suconic
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=705f1db ]

ARTEMIS-2403 Adding test with clientID on retry after exceptions


> 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
>          Time Spent: 1h 20m
>  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
(v7.6.3#76005)

Reply via email to