Im not sure I mentioned a topic, however for clarification jms queue =
anycast and jms topic = multicast in general

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

> I must admit I'm lost here..
>
> The example is from https://activemq.apache.org/
> artemis/docs/2.0.0/address-model.html, section "Point-to-Point Address
> multiple
> Queues" and there is no question about Topics here
>
> Do you say that q1 is a Topic from a JMS perspective, even if it is
> attached to an "ANYCAST" Address?
>
> Quoting the section "Mapping JMS Concepts to the Core API"
>
> "A JMS topic is implemented in core as an address with name=(the topic
> name) and with a MULTICAST routing type with zero or more
> queues bound to it. Each queue bound to that address represents a topic
> subscription.Likewise, a JMS queue is implemented as an
> address with name=(the JMS queue name) with an ANYCAST routing type
> assocatied with it."
>
> Please help me understand the rules to determine if an "Artemis Address"
> is a JMS Topic or a JMS Queue and also how to determine if
> an "Artemis Queue" is a JMS Topic or a JMS Queue because the definition
> above is either incomplete or the assumption on q1 are wrong
>
> Thanks !
>
>
>
>
> Le 31/03/2017 à 08:12, andytaylor a écrit :
>
> > 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] <
> > [hidden email] <http:///user/SendEmail.jtp?type=node&node=4724423&i=0>>
> 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
> >> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4724423&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-tp4724415p4724422.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-
> tp4724415p4724423.html
> To start a new topic under ActiveMQ - User, email
> ml-node+s2283324n2341805...@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-tp4724415p4724426.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to