qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5816) [Java Client 0-10] If a resolved destination is used to create a consumer on a new connection created after destination was resolved, the client does not try to create the destination on the broker
Date Wed, 11 May 2016 16:32:13 GMT

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

ASF subversion and git services commented on QPID-5816:
-------------------------------------------------------

Commit 1743394 from orudyy@apache.org in branch 'java/branches/6.0.x'
[ https://svn.apache.org/r1743394 ]

QPID-5816: [Java Client] Maintain a per-session (weak) cache of resolved Destinations

merged from trunk using
svn merge -c 1743228   ^/qpid/java/trunk

> [Java Client 0-10] If a resolved destination is used to create a consumer on a new connection
created after destination was resolved, the client does not try to create the destination
on the broker
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-5816
>                 URL: https://issues.apache.org/jira/browse/QPID-5816
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.20, 0.22, 0.24, 0.26
>            Reporter: Alex Rudyy
>             Fix For: qpid-java-6.0.3
>
>
> On consumer creation for a destination marked as resolved 0.10 client does not send exchange.declare,
queue.declare and exchange.bind commands to the broker in order to create the corresponding
broker entities.
> If such resolved destination is used to create consumer and the destination node does
not exist on a broker, the consumer creation will fail.
> In response to subscribe command the broker can return an exception because destination
does not exist:
> {noformat}
> ...
> SEND: [conn:7e779b1b] ch=0 id=2 MessageSubscribe(queue=test_queue, destination=1, acceptMode=EXPLICIT,
acquireMode=PRE_ACQUIRED, resumeTtl=0, arguments={x-filter-jms-selector=})
> ...
> RECV: [conn:7e779b1b] ch=0 ExecutionException(errorCode=NOT_FOUND, commandId=2, description=Queue:
test_queue not found)
> ...
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message