...
Section |
---|
Column |
---|
All endpoints must inherit the Endpoint class, but you will usually prefer a more specialized derived class from the following hierarchy: |
Column |
---|
Code Block |
---|
|
package com.foo;
import javax.jbi.messaging.MessageExchange;
import javax.jbi.messaging.NormalizedMessage;
import org.apache.servicemix.common.endpoints.ProviderEndpoint;
/**
* @org.apache.xbean.XBean element="provider"
*/
public class MyProviderEndpoint extends ProviderEndpoint {
protected void processInOut(
MessageExchange exchange,
NormalizedMessage in,
NormalizedMessage out) throws Exception {
// TODO: process in message and populate out message
}
}
|
|
|
...
Other concepts
- Deployer
- Bootstrap
- Endpoint resolution
- URI support
- XBean deployment
- Lightweight configuration
- Configuration MBean
- Multiple endpoints (=> marker interface)
Tutorials
Service Engines
This tutorial will help you creating a Service Engine using ServiceMix JCF.
...