-
15. Re: send message form jbossAS to jbossESB
tommy111 Jan 21, 2009 4:48 AM (in response to tommy111)
hi daniel
i need very much , about send message from
jbossESB server to JbossAS . please help me more detail.
thank's so much -
16. Re: send message form jbossAS to jbossESB
beve Jan 21, 2009 6:17 AM (in response to tommy111)i need very much , about send message fromjbossESB server to JbossAS . please help me more detail.
How do you want to communicate with JBossAS?
If you want to communicate with JMS you can use the JMSRouter -> jms_router quickstart
If you want to call an EJB that exists in JBossAS -> ejbprocessor quickstart
If you want to call a WebService -> webservice_consumer1 quickstart
There is information about these actions in the ServiceGuide and also all quickstart have a readme.txt file that contain information about what they demonstrate.
regards,
/Daniel -
17. Re: send message form jbossAS to jbossESB
tommy111 Jan 21, 2009 6:46 AM (in response to tommy111)hi
i told you , i create listener in jbossESB server that when from client send message to JbossESB server , then route message to jbossAS on other machine
ok daniel
thank's regard -
18. Re: send message form jbossAS to jbossESB
beve Jan 21, 2009 6:49 AM (in response to tommy111)i told you , i create listener in jbossESB server that when from client send message to JbossESB server , then route message to jbossAS on other machine
Yes, but you did not tell me how this message should be passed to the JBossAS on the other machine. What type of application(EJB, WebService, Servlet, etc) is deployed on that JBossAS? -
19. Re: send message form jbossAS to jbossESB
tommy111 Jan 21, 2009 6:53 AM (in response to tommy111)oh sorry
EJB
thank's daniel -
20. Re: send message form jbossAS to jbossESB
tommy111 Jan 21, 2009 6:58 AM (in response to tommy111)
daniel
i shoude create listener in jbossAS? ok?
an then i dont know how get message in jbossESB server and sento jbossAS? -
21. Re: send message form jbossAS to jbossESB
beve Jan 21, 2009 12:20 PM (in response to tommy111)EJB
If this is a session bean then you can use the EJBProcessor action which is demonstrated in the ejbprocessor quickstart.
If your ejb is a message driven bean(mdb) you need to post to the destination (queue/topic) that the mdb listenes to. You can use the JMSRouter action for this which is demonstrated in the jms_router quickstart.
regards,
/Daniel -
22. Re: send message form jbossAS to jbossESB
tommy111 Jan 22, 2009 3:34 AM (in response to tommy111)hi daniel
i don't have ejbprocessor quickstart . :(
regards -
23. Re: send message form jbossAS to jbossESB
tommy111 Jan 22, 2009 7:47 AM (in response to tommy111)hi
how can i change jms_router so that when get message on jbossESB server ,then pass message to jbossAS ?
thanks -
24. Re: send message form jbossAS to jbossESB
beve Jan 23, 2009 12:57 AM (in response to tommy111)how can i change jms_router so that when get message on jbossESB server ,then pass message to jbossAS ?
This is what the JMSRouter does. What do you mean by changing. If the JBossAS is on a different machine you would need to change the 'jndi-URL' property. Is that what you mean? -
25. Re: send message form jbossAS to jbossESB
tommy111 Jan 23, 2009 3:09 AM (in response to tommy111)
hi
in jms_router example when call recivemessage() function message reply to client , but i want reply to jbossAS on other machin.
thanks -
26. Re: send message form jbossAS to jbossESB
tommy111 Jan 23, 2009 5:31 AM (in response to tommy111)
hi
in continue , i want tow have listener A and listener B ,
listener A get message , and listener B get message ,
now i cant queue config ,how can i use?
thank's -
27. Re: send message form jbossAS to jbossESB
beve Jan 23, 2009 7:25 AM (in response to tommy111)in jms_router example when call recivemessage() function message reply to client , but i want reply to jbossAS on other machin.
recieveMessage is a method on the client side. This is just to prove that the message was sent by the JMSRouter to the queue. I could just have well been picked up by a different application.In continue , i want tow have listener A and listener B ,
listener A get message , and listener B get message ,
now i cant queue config ,how can i use?
The 'jndiName' just specifies a destination. That can be a queue or a topic.
regards,
/Daniel -
28. Re: send message form jbossAS to jbossESB
tommy111 Jan 25, 2009 1:43 AM (in response to tommy111)hi daniel
how implement scenario , i dont founded
i created listener in my jbossESB server and get message from client,
but i dont know how read message or consume messgae from queue and
send to other jboss AS?
pls help me descriptin details, if you can
best regards -
29. Re: send message form jbossAS to jbossESB
beve Jan 25, 2009 2:43 AM (in response to tommy111)but i dont know how read message or consume messgae from queue and
send to other jboss AS?
What do you mean?! The JMSRouter does the sending and this is demonstrated by the jms_router quickstart.
If you don't know how to read a message from a queue or topic I suggest that you read about JMS to understand how to do this. This is not specific to JBossESB.