activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andytaylor <andy.tayl...@gmail.com>
Subject Re: Artemis 2.0: JMS seems to create an address/queue on jmsSession.createProducer() calls
Date Fri, 31 Mar 2017 12:12:29 GMT
It does adhere to the JMS spec, the destinations are just created
dynamically not explicitly because of the call.NB mos vendors do this

For the second exception, this is because you send to an address not a
queue, so it tries to create a new queue under the address q1 which fails
because it already exists under address address.foo

On 31 March 2017 at 13:05, titou10 [via ActiveMQ] <
ml-node+s2283324n4724421h31@n4.nabble.com> wrote:

> OK...
>
> I'm not sure that setting the server in this mode respects the JMS
> specs...maybe it may be considered as a JMS extension?
>
> And what about the ActiveMQQueueExistsException[errorType=QUEUE_EXISTS
> message=AMQ119019: Queue already exists q1]exception for the
> second case ?
>
>
> Le 31/03/2017 à 07:51, andytaylor a écrit :
>
> > This happens if you have auto create for queues/topics configured on the
> > address settings, you can turn this off if you desire
> >
> > On 31 March 2017 at 12:17, titou10 [via ActiveMQ] <
> > [hidden email] <http:///user/SendEmail.jtp?type=node&node=4724421&i=0>>
> wrote:
> >
> >> FYI, same code to an IBM MQ server fails as expected with an
> >> "UNKNOWN_OBJECT_NAME" on the createProducer() method
> >>
> >> com.ibm.mq.MQException: JMSCMQ0001: IBM MQ call failed with compcode
> '2'
> >> ('MQCC_FAILED') reason '2085' ('MQRC_UNKNOWN_OBJECT_NAME').
> >>          at com.ibm.msg.client.wmq.common.internal.Reason.
> >> createException(Reason.java:203) ~[na:na]
> >>          at com.ibm.msg.client.wmq.internal.WMQMessageProducer.
> >> checkJmqiCallSuccess(WMQMessageProducer.java:1248) ~[na:na]
> >>          at com.ibm.msg.client.wmq.internal.WMQMessageProducer.
> >> checkJmqiCallSuccess(WMQMessageProducer.java:1205) ~[na:na]
> >>          at com.ibm.msg.client.wmq.internal.WMQMessageProducer.
> >> access$800(WMQMessageProducer.java:75) ~[na:na]
> >>          at com.ibm.msg.client.wmq.internal.WMQMessageProducer$
> >> SpiIdentifiedProducerShadow.initialise(WMQMessageProducer.java:801)
> >> ~[na:na]
> >>          at com.ibm.msg.client.wmq.internal.WMQMessageProducer.<
> >> init>(WMQMessageProducer.java:1181) ~[na:na]
> >>          at com.ibm.msg.client.wmq.internal.WMQSession.
> >> createProducer(WMQSession.java:1077) ~[na:na]
> >>          at com.ibm.msg.client.jms.internal.JmsSessionImpl.
> >> createProducer(JmsSessionImpl.java:1498) ~[na:na]
> >>          at com.ibm.mq.jms.MQSession.createProducer(MQSession.java:661)
>
> >> ~[na:na]
> >>
> >>
> >>
> >> ------------------------------
> >> If you reply to this email, your message will be added to the
> discussion
> >> below:
> >> http://activemq.2283324.n4.nabble.com/Artemis-2-0-JMS-
> >> seems-to-create-an-address-queue-on-jmsSession-createProducer-calls-
> >> tp4724415p4724416.html
> >> To start a new topic under ActiveMQ - User, email
> >> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4724421&i=1>
> >> To unsubscribe from ActiveMQ - User, click here
> >> <
> >> .
> >> NAML
> >> <http://activemq.2283324.n4.nabble.com/template/
> NamlServlet.jtp?macro=macro_viewer&id=instant_html%
> 21nabble%3Aemail.naml&base=nabble.naml.namespaces.
> BasicNamespace-nabble.view.web.template.NabbleNamespace-
> nabble.view.web.template.NodeNamespace&breadcrumbs=
> notify_subscribers%21nabble%3Aemail.naml-instant_emails%
> 21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> >>
> >
> >
> >
> > --
> > View this message in context: http://activemq.2283324.n4.
> nabble.com/Artemis-2-0-JMS-seems-to-create-an-address-queue-on-jmsSession-
> createProducer-calls-tp4724415p4724418.html
> > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://activemq.2283324.n4.nabble.com/Artemis-2-0-JMS-
> seems-to-create-an-address-queue-on-jmsSession-createProducer-calls-
> tp4724415p4724421.html
> To start a new topic under ActiveMQ - User, email
> ml-node+s2283324n2341805h35@n4.nabble.com
> To unsubscribe from ActiveMQ - User, click here
> <http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2341805&code=YW5keS50YXlsczY3QGdtYWlsLmNvbXwyMzQxODA1fC05MDE1NDk1MzM=>
> .
> NAML
> <http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-2-0-JMS-seems-to-create-an-address-queue-on-jmsSession-createProducer-calls-tp4724415p4724422.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message