Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We explicitly configure serviceName and endpointName so they are not read from the wsdl. The names we use are arbitrary and have no further function but we set them to look nice. The serviceclass points to the service interface that was generated from the wsdl. Now the important thing is address. Here we tell cxf to use the camel transport, use the JmsComponent who registered the prefix "jms" and use the queue "CustomerService".

...

Setting up the CamelContext

As we do not need additional routing an empty CamelContext bean will suffice.

...