[
https://issues.apache.org/jira/browse/QPID-7818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Keith Wall updated QPID-7818:
-----------------------------
Fix Version/s: Future
> [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
> Fix For: Future
>
>
> 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.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]