1 2 3 Previous Next 31 Replies Latest reply on Feb 1, 2009 10:35 AM by tommy111 Go to original post
      • 15. Re: send message form jbossAS to jbossESB


        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

           

          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

            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

               

              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

                oh sorry

                EJB

                thank's daniel

                • 20. Re: send message form jbossAS to jbossESB



                  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

                     

                    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

                      hi daniel

                      i don't have ejbprocessor quickstart . :(

                      regards

                      • 23. Re: send message form jbossAS to jbossESB

                        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

                           

                          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



                            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


                              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

                                 

                                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

                                  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

                                     

                                    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.