Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Before we can learn about accessing other services on the JBI ESB, we have to INLINE

Excerptadd a JMS SU with two endpoints to pro interact with

...

Adding a JMS SU

Creating the JMS SU

You can create the JMS SU by using the Maven archetype for it in your project's root:

...

...

Adding the JMS SU to our SA

...

If you are using Eclipse for taking this tutorial, you should take a minute at this point to re-run mvn eclipse:eclipse, import the additional SU project into the workspace and refresh the SA project to get back in sync with your Maven project.

...

Now, modify the JMS SU's xbean.xml to configure a sample consumer and provider endpoint, both referring to the same queue like this:

...

Build and deploy the SA

Just to make sure you haven't made any mistakes here, quickly build and deploy the SA again now. Feel free to connect to ServiceMix using a JMX console to convince yourself that the new endpoints are actually available. Leave the JMX console running for now, you'll be needing it in our next step as well.

Now that we are done with preparations, it's time to get back to Camel and do something with our all new endpoints now.

...



...