protected void configureContainer() throws Exception {
jbi.setFlowName("st");
}
protected void configurePattern(EIPEndpoint endpoint) {
endpoint.setStore(new MemoryStore(new IdGenerator()) {
public void store(String id, Object exchange) throws IOException {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
new ObjectOutputStream(baos).writeObject(exchange);
super.store(id, exchange);
}