@MessageLogger(projectCode="AMQ")
public interface WildFlyActiveMQLogger
extends BasicLogger
Author:
Andy Taylor, Martyn Taylor
Logger Code 12
each message id must be 6 digits long starting with 12, the 3rd digit donates the level so
INF0 1
WARN 2
DEBUG 3
ERROR 4
TRACE 5
FATAL 6
so an INFO message would be 121000 to 121999
@LogMessage(level=INFO)
@Message(id=121003,
value="JMS Server Manager Running cached command for {0}",
format=MESSAGE_FORMAT)
voidserverRunningCachedCommand(Runnable run)
serverCachingCommand
@LogMessage(level=INFO)
@Message(id=121004,
value="JMS Server Manager Caching command for {0} since the JMS Server is not active yet",
format=MESSAGE_FORMAT)
voidserverCachingCommand(Object runnable)
invalidHostForConnector
@LogMessage(level=INFO)
@Message(id=121005,
value="Invalid \"host\" value \"0.0.0.0\" detected for \"{0}\" connector. Switching to \"{1}\". If this new address is incorrect please manually configure the connector to use the proper one.",
format=MESSAGE_FORMAT)
voidinvalidHostForConnector(String name,
String newHost)
noQueueOnTopic
@LogMessage(level=WARN)
@Message(id=122007,
value="Queue {0} does not exist on the topic {1}. It was deleted manually probably.",
format=MESSAGE_FORMAT)
voidnoQueueOnTopic(String queueName,
String name)
recoveryConnectFailed
@LogMessage(level=WARN)
@Message(id=122008,
value="XA Recovery can not connect to any ActiveMQ server on recovery {0}",
format=MESSAGE_FORMAT)
voidrecoveryConnectFailed(String s)
jndiUnbindError
@LogMessage(level=WARN)
@Message(id=122011,
value="error unbinding {0} from JNDI",
format=MESSAGE_FORMAT)
voidjndiUnbindError(@Cause
Exception e,
String key)
jmsServerError
@LogMessage(level=WARN)
@Message(id=122012,
value="JMS Server Manager error",
format=MESSAGE_FORMAT)
voidjmsServerError(@Cause
Exception e)
xaRecoverError
@LogMessage(level=WARN)
@Message(id=122013,
value="Error in XA Recovery recover",
format=MESSAGE_FORMAT)
voidxaRecoverError(@Cause
Exception e)
xaRecoverConnectionError
@LogMessage(level=WARN)
@Message(id=122014,
value="Notified of connection failure in xa recovery connectionFactory for provider {0} will attempt reconnect on next pass",
format=MESSAGE_FORMAT)
voidxaRecoverConnectionError(@Cause
Exception e,
ClientSessionFactory csf)
xaRecoverAutoConnectionError
@LogMessage(level=WARN)
@Message(id=122015,
value="Can not connect to {0} on auto-generated resource recovery",
format=MESSAGE_FORMAT)
voidxaRecoverAutoConnectionError(@Cause
Throwable e,
XARecoveryConfig csf)
xaRecoveryError
@LogMessage(level=DEBUG)
@Message(id=122016,
value="Error in XA Recovery",
format=MESSAGE_FORMAT)
voidxaRecoveryError(@Cause
Exception e)
failedToCorrectHost
@LogMessage(level=WARN)
@Message(id=122017,
value="Tried to correct invalid \"host\" value \"0.0.0.0\" for \"{0}\" connector, but received an exception.",
format=MESSAGE_FORMAT)
voidfailedToCorrectHost(@Cause
Exception e,
String name)
xaRecoveryStartError
@LogMessage(level=WARN)
@Message(id=122018,
value="Could not start recovery discovery on {0}, we will retry every recovery scan until the server is available",
format=MESSAGE_FORMAT)
voidxaRecoveryStartError(XARecoveryConfig e)