Consumes consume = this.sender.getComponent().getServiceUnitManager().getConsumesFromDestination(null,
serviceName, interfaceName);
this.sender.getLogger().log(Level.WARNING,
String.format(
"No Consumes declared in the JBI descriptor for the request to send, using informations from the process: interface=%s, serviceName=%s, operation=%s, mep=%s",
} else {
if (interfaceName != null && !consume.getInterfaceName().equals(interfaceName)) {
this.sender.getLogger().log(Level.WARNING,
"Mismatch between JBI Consumes interface name and process information ("
+ consume.getInterfaceName() + " vs " + interfaceName
this.sender.getLogger().log(Level.WARNING,
"Mismatch between JBI Consumes service name and process information ("
+ consume.getServiceName() + " vs " + serviceName
this.sender.getLogger().log(Level.WARNING,
"An operation is declared in the Consumes in the JBI descriptor for the request to send: IGNORED and using informations from the process: "
+ operationName);
this.sender.getLogger().log(Level.WARNING,
"A MEP is declared in the Consumes in the JBI descriptor for the request to send: IGNORED and using informations from the process: "
+ mep);
.createConsumeExchange(consume, mep);
if (this.sender.getLogger().isLoggable(Level.FINE)) {
this.sender.getLogger().fine("Request to send: " + new String(buf));