use of javax.naming.Context in project camel by apache.
the class RoutePerformanceTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
Map<String, Object> headers = new HashMap<String, Object>();
headers.put("foo", 123);
dataSet.setDefaultHeaders(headers);
Context context = super.createJndiContext();
context.bind("foo", dataSet);
return context;
}
use of javax.naming.Context in project camel by apache.
the class BigDataSetTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
Context context = super.createJndiContext();
context.bind("foo", dataSet);
return context;
}
use of javax.naming.Context in project camel by apache.
the class CustomDataSetTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
Context context = super.createJndiContext();
context.bind("foo", dataSet);
return context;
}
use of javax.naming.Context in project camel by apache.
the class FileDataSetProducerWithSplitTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
Context context = super.createJndiContext();
context.bind(dataSetName, dataSet);
return context;
}
use of javax.naming.Context in project camel by apache.
the class DataSetConsumerTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
Context context = super.createJndiContext();
context.bind(dataSetName, dataSet);
return context;
}
Aggregations