Versions Compared

Key

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

...

URI can be used at serveral places inside ServiceMix.

Endpoint resolution

when When calling context.resolveEndpointReference(epr).
You could something like:

Code Block
java
java

        DocumentFragment epr = URIResolver.createWSAEPR("http://localhost:8192?http.soap=true");
        ServiceEndpoint se = client.getContext().resolveEndpointReference(epr);
        exchange.setEndpoint(se);
        send(exchange);
ActivationSpec
Code Block
xml
xml
<sm:activationSpec targetUri="interface:http://www.foo.bar/MyInterface">
 ...
 </sm:activationSpec>

...