Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Code Block
mvn archetype:create \
  -DarchetypeGroupId=org.apache.servicemix.tooling \
  -DarchetypeArtifactId=servicemix-cxf-bc-service-unit
  -DarchetypeVersion=2010.01 \
  -DgroupId=your.group.id \
  -DartifactId=your.artifact.id \
  -Dversion=your-version

Once you've customized the service unit, simply install the SU:

Code Block

mvn install
Info

Remember that to be deployable in ServiceMix, the ServiceUnit has to be embedded in a Service Assembly: only the Service Assembly zip file can be deployed in ServiceMix.
To add your SU in a SA, you need to define it in the dependency sets:

Code Block

<dependency>
  <groupId>your.group.id</groupId>
  <artifactId>your.artifact.id</artifactId>
  <version>your-version</version>
</dependency>

Endpoints Configuration

Consumer Endpoint

...

Code Block
[target namespace][delimiter][interface name][delimiter][operation name]

where:

  • Wiki Markup\[delimiter\] is ":" when the \ [target namespace\] is a URN, otherwise "/".
  • Wiki Markup\[target namespace\] is the namespace of the interface.unmigrated-wiki-markup
  • \[interface name\] is the name of the interface.unmigrated-wiki-markup\
  • [operation name\] is the name of the operation.

For example, the following header

...

will be used to address the JBI exchange with the following properties:

  • interface name: {http://example.com/stockquote\Image Removed}StockQuoteInterface
  • operation name: {http://example.com/stockquote\Image Removed}GetLastTradePrice

...

Code Block
[target namespace][delimiter][service name][delimiter][endpoint name]

where:

...

  • \[delimiter\] is ":" when the \ [target namespace\] is a URN, otherwise "/".unmigrated-wiki-markup
  • \[target namespace\] is the namespace of the interface.unmigrated-wiki-markup
  • \[service name\] is the name of the service. Wiki Markup\
  • [endpoint name\] is the name of the endpoint.

For example, the following header

...