EIPComponent eip = new EIPComponent();
WireTap ep = new WireTap();
ep.setService(new QName("uri:foo", "bar"));
ep.setEndpoint("ep");
ep.setTarget(new ExchangeTarget());
ep.getTarget().setService(new QName("target"));
eip.setEndpoints(new EIPEndpoint[] { ep });
eip.init(new ComponentContextImpl(reg, new SimpleComponentWrapper(eip),
new HashMap<String, Object>()));
eip.getLifeCycle().start();