try {
consumer.startListening();
} catch (ContainerException e) {
final String err = "Problem getting consumer to start " +
"listening: " + e.getMessage();
throw new NotificationImplementationException(err, e);
}
final EndpointReferenceType defaultConsumerEPR;
try {
defaultConsumerEPR =
this.consumer.createNotificationConsumer(topicPaths,
listeners);
} catch (ResourceException e) {
final String err = "Problem getting consumer to start " +
"listening: " + e.getMessage();
throw new NotificationImplementationException(err, e);
}
if (this.pr.enabled()) {
this.logDefaultEPR(defaultConsumerEPR);
}