use of org.apache.camel.builder.DeadLetterChannelBuilder in project camel by apache.
the class ContextScopedOnExceptionErrorHandlerRefIssueTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
jndi.bind("myDLC", new DeadLetterChannelBuilder("mock:dead"));
return jndi;
}
use of org.apache.camel.builder.DeadLetterChannelBuilder in project camel by apache.
the class ContextScopedOnExceptionErrorHandlerRefIssueTwoRoutesTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
jndi.bind("myDLC", new DeadLetterChannelBuilder("mock:dead"));
return jndi;
}
use of org.apache.camel.builder.DeadLetterChannelBuilder in project camel by apache.
the class ContextScopedOnExceptionMultipleRouteBuildersTest method createCamelContext.
@Override
protected CamelContext createCamelContext() throws Exception {
CamelContext context = super.createCamelContext();
context.setErrorHandlerBuilder(new DeadLetterChannelBuilder("mock:dead"));
return context;
}
use of org.apache.camel.builder.DeadLetterChannelBuilder in project camel by apache.
the class ContextScopedOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTwoRoutesTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
jndi.bind("myDLC", new DeadLetterChannelBuilder("mock:dead"));
return jndi;
}
use of org.apache.camel.builder.DeadLetterChannelBuilder in project camel by apache.
the class ContextScopedOnExceptionRouteScopedErrorHandlerRefIssueTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
jndi.bind("myDLC", new DeadLetterChannelBuilder("mock:dead"));
return jndi;
}
Aggregations