public SimpleEndpoint(DefaultComponent component, ServiceEndpoint endpoint) {
super(component.getServiceUnit(), endpoint.getServiceName(), endpoint.getEndpointName());
}
public synchronized void activate() throws Exception {
context = new EndpointComponentContext(this);
channel = context.getDeliveryChannel();
exchangeFactory = channel.createExchangeFactory();
start();
}