[jira] [Updated] (QPID-7818) [AMQP 0-10] Messages published into non existing queue are discarded on 0-10 path

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Updated] (QPID-7818) [AMQP 0-10] Messages published into non existing queue are discarded on 0-10 path

JIRA jira@apache.org

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

Alex Rudyy updated QPID-7818:
-----------------------------
    Summary: [AMQP 0-10] Messages published into non existing queue are discarded on 0-10 path  (was: [AMQP 0-10] Messages are discarded when published into non existing queue destination)

> [AMQP 0-10] Messages published into non existing queue are discarded on 0-10 path
> ---------------------------------------------------------------------------------
>
>                 Key: QPID-7818
>                 URL: https://issues.apache.org/jira/browse/QPID-7818
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Java Client
>    Affects Versions: 0.18, 0.20, 0.22, 0.24, 0.26, 0.28, 0.30, 0.32, qpid-java-6.0, qpid-java-6.0.1, qpid-java-6.0.2, qpid-java-6.0.3, qpid-java-6.0.4, qpid-java-6.0.5, qpid-java-6.0.6, qpid-java-6.0.7, qpid-java-6.1, qpid-java-6.1.1, qpid-java-6.1.2, qpid-java-6.1.3
>            Reporter: Alex Rudyy
>
> Messages published with AMQP  0-10 into non existing queue destination are discarded whilst on AMQP 0-9 and 1-0 the error is reported. The following code does not throw JMS exception as expected
> {code}
>        Connection connection =  ...
>         connection.start();
>         Session session = connection.createSession(true, Session.SESSION_TRANSACTED);
>         MessageProducer messageProducer = session.createProducer(null);
>         try
>         {
>             messageProducer.send(session.createQueue("nonExistingQueue"), session.createTextMessage("testMessage"));
>             session.commit();
>             fail("Expected exception was not thrown");
>         }
>         catch (JMSException e)
>         {
>             // pass
>         }
> {code}
> Such behaviour is not JMS compliant: {{InvalidDestinationException}} is expected to be thrown in this case.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...