*/
protected void sendMessage (final ObjectMessage message, final MessageProducer messageProducer) throws JMSException {
// Trace message
- this.getLoggerBeanLocal().logTrace(MessageFormat.format("sendMessage: message={0},messageProducer={1} - CALLED!", message, messageProducer)); //NOI18N
+ this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.sendMessage: message={1},messageProducer={2} - CALLED!", this.getClass().getSimpleName(), message, messageProducer)); //NOI18N
// The parameter should be valid
if (null == message) {
messageProducer.send(message);
// Trace message
- this.getLoggerBeanLocal().logTrace("sendMessage: EXIT!"); //NOI18N
+ this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.sendMessage: EXIT!", this.getClass().getSimpleName())); //NOI18N
}
}