use of org.apache.camel.processor.binding.DataFormatBinding in project camel by apache.
the class JacksonBindingTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
Context context = super.createJndiContext();
JacksonXMLDataFormat format = new JacksonXMLDataFormat(TestPojo.class);
context.bind("jsonmq", new BindingComponent(new DataFormatBinding(format), "file:target/"));
return context;
}
use of org.apache.camel.processor.binding.DataFormatBinding in project camel by apache.
the class JacksonBindingTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
Context context = super.createJndiContext();
JacksonDataFormat format = new JacksonDataFormat(TestPojo.class);
context.bind("jsonmq", new BindingComponent(new DataFormatBinding(format), "file:target/"));
return context;
}
use of org.apache.camel.processor.binding.DataFormatBinding in project camel by apache.
the class JacksonNameBindingTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
Context context = super.createJndiContext();
JacksonDataFormat format = new JacksonDataFormat(TestPojo.class);
context.bind("jackson", new DataFormatBinding(format));
return context;
}
use of org.apache.camel.processor.binding.DataFormatBinding in project camel by apache.
the class JacksonNameBindingTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
Context context = super.createJndiContext();
JacksonXMLDataFormat format = new JacksonXMLDataFormat(TestPojo.class);
context.bind("jackson", new DataFormatBinding(format));
return context;
}
Aggregations