{
EndpointReference consumer = getConsumerReference();
EndpointReference producer = getProducerReference();
Environment env = getEnvironment();
NotificationConsumerClient client = new NotificationConsumerClient(consumer, producer, env);
client.setTrace(isUsingTrace());
return client;
}