-
1. Re: how to route the messages in topic using jboss eap 6.1.1
gaohoward Jun 1, 2015 3:28 AM (in response to jeni)Did you try JMX console? Regarding to your second question can you give us more information like your divert configuration?
-
2. Re: how to route the messages in topic using jboss eap 6.1.1
jeni Jun 1, 2015 4:36 AM (in response to gaohoward)I created the queue and topic in jboss. And I created the divert for that I run the command which I have mentioned below:
Command:
- jboss-cli.bat –connect –controller=<$IP>:9999
- /subsystem=messaging/hornetq-server=default/divert=my-divert:add(divert-address=jms.queue.test,forwarding-address=jms.topic.test,exclusive=true)
Divert created successfully. Now I configure the message queue in Informatica MDM 9.7.1 and the messages are triggered in Jboss. I can able to see the messages count in Jboss. But I don't know where I can see the xml messages.. The messages are not there in topic.
-
3. Re: how to route the messages in topic using jboss eap 6.1.1
gaohoward Jun 1, 2015 4:46 AM (in response to jeni)I think you probably need to create at least a subscriber to the topic. messages will be discarded if your topic has none subscribers.
-
4. Re: how to route the messages in topic using jboss eap 6.1.1
jeni Jun 2, 2015 2:46 AM (in response to jeni)Hi Yong,
Please tell me how to create a subscriber? Is that durable r non durable. Is there any steps that you could send me?
I have to write java program? Is there any other option other than java?
If I write java program then how can i bring it to topic?
-
5. Re: how to route the messages in topic using jboss eap 6.1.1
gaohoward Jun 2, 2015 6:35 AM (in response to jeni)Hi Jeni,
I'd suggest you take a look at some of the EAP quickstart examples
https://github.com/jboss-eap/quickstart
If you want to know how to create the subscriber I think the helloword-jms
https://github.com/jboss-eap/quickstart/tree/master-eap6/helloworld-jms
and mdb
https://github.com/jboss-eap/quickstart/tree/master-eap6/helloworld-mdb
perhaps are of interests to you.
To subscribe to a topic I think you can either use an external client (like helloworld-jms) or use a MDB (like helloworld-mdb).
Either way you need to change the code a bit to suit your situation. For example change the MDB's destination to a topic
Howard