7 Replies Latest reply on Sep 30, 2008 3:46 AM by kconner

    External Services to JBoss ESB

    denix

      Is it possible to connect to JBoss ESB server
      external services which is running on different
      server?

      If yes, how to implement this?

        • 1. Re: External Services to JBoss ESB
          marklittle

          Yes, take a look at Gateways.

          • 2. Re: External Services to JBoss ESB
            denix

             

            "mark.little@jboss.com" wrote:
            Yes, take a look at Gateways.


            Thanks, Mark.

            I see in Documentation that Gateways helps when I have different type of services, i.e. not JBoss ESB.

            But if, for example, I just want to connect to my JBoss ESB
            external service which is also written for JBoss ESB but
            its location on other JBoss application server.
            Should I also use Gateways?

            • 3. Re: External Services to JBoss ESB
              marklittle

              Ah, sorry. I thought you meant non-ESB services talking to ESB services (and vice versa). So what you want to do is have ESB services talking to each other when they are running on different application servers? If that's the case then that's even easier because it's precisely what the ESB does. Take a look at the quickstarts or the trailblazer, for example: we don't assume that the services are all running on the same AS install.

              • 4. Re: External Services to JBoss ESB
                burrsutter

                EJBProcessor can be used to access remote SLSBs and
                SOAPClient can be used to access WS endpoints respectively.

                These are out of the box actions which can be used in your custom ESB service that is consuming external "services".

                • 5. Re: External Services to JBoss ESB
                  denix

                  Thanks for answers. It is really good that JBoss ESB has so great community support.
                  I have one more question:
                  We also consider the situation to connect together different JBoss ESB instances, i.e. I'm not talking about clustering.
                  For example, on our server1 we have running JBoss ESB with ServiceA,
                  on server2 we have running JBoss ESB with ServiceB, ServiceC
                  and we want to have the possibility to invoke ServiceA using ServiceC.
                  So what is better way to integrate 2 JBoss ESB instances in such case?

                  • 6. Re: External Services to JBoss ESB
                    denix

                    i.e. from your answers I see that it is possible to connect services from different servers, but
                    what about connecting the whole ESBs (not clustering) from different servers?

                    • 7. Re: External Services to JBoss ESB
                      kconner

                      At the moment you would need to setup a shared registry between the instances as that is where we are currently retrieving the information.

                      This will change with ESB 5 when we have a federated structure as each instance will then be able to announce subsets of their services to connected instances.