}
public void init(JBIContainer container) throws JBIException {
initComponentListener(container);
initEndpointListener(container);
exchangeListener = new ExchangeListener() {
public void exchangeSent(ExchangeEvent event) {
onExchangeSent(event);
}
public void exchangeAccepted(ExchangeEvent event) {
onExchangeAccepted(event);