Interface ActiveMQRALogger

  • All Superinterfaces:
    org.jboss.logging.BasicLogger
    All Known Implementing Classes:
    ActiveMQRALogger_$logger

    @MessageLogger(projectCode="AMQ")
    public interface ActiveMQRALogger
    extends org.jboss.logging.BasicLogger
    Logger Code 15
    each message id must be 6 digits long starting with 15, 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 151000 to 151999
    • Field Detail

      • LOGGER

        static final ActiveMQRALogger LOGGER
        The default logger. Note this uses ActiveMQRALogger.class.getName() instead of ActiveMQRALogger.class.getPackage().getName() like the other loggers, this is because some Application Servers use introspection to identify properties which can sometimes use a classloader when the rar is uploaded and its possible getpackage() can return null
    • Method Detail

      • awaitingTopicQueueCreation

        @LogMessage(level=INFO)
        @Message(id=151000,
                 value="awaiting topic/queue creation {0}",
                 format=MESSAGE_FORMAT)
        void awaitingTopicQueueCreation​(java.lang.String destination)
      • attemptingReconnect

        @LogMessage(level=INFO)
        @Message(id=151001,
                 value="Attempting to reconnect {0}",
                 format=MESSAGE_FORMAT)
        void attemptingReconnect​(ActiveMQActivationSpec spec)
      • reconnected

        @LogMessage(level=INFO)
        @Message(id=151002,
                 value="Reconnected with broker",
                 format=MESSAGE_FORMAT)
        void reconnected()
      • raStopped

        @LogMessage(level=INFO)
        @Message(id=151003,
                 value="resource adaptor stopped",
                 format=MESSAGE_FORMAT)
        void raStopped()
      • instantiatingDestination

        @LogMessage(level=INFO)
        @Message(id=151004,
                 value="Instantiating {0} \"{1}\" directly since UseJNDI=false.",
                 format=MESSAGE_FORMAT)
        void instantiatingDestination​(java.lang.String destinationType,
                                      java.lang.String destination)
      • awaitingJMSServerCreation

        @LogMessage(level=INFO)
        @Message(id=151005,
                 value="awaiting server availability",
                 format=MESSAGE_FORMAT)
        void awaitingJMSServerCreation()
      • rebalancingConnections

        @LogMessage(level=INFO)
        @Message(id=151006,
                 value="Cluster topology change detected. Re-balancing connections on even {0}.",
                 format=MESSAGE_FORMAT)
        void rebalancingConnections​(java.lang.String event)
      • resourceAdaptorStarted

        @LogMessage(level=INFO)
        @Message(id=151007,
                 value="Resource adaptor started",
                 format=MESSAGE_FORMAT)
        void resourceAdaptorStarted()
      • problemResettingXASession

        @LogMessage(level=WARN)
        @Message(id=152001,
                 value="problem resetting xa session after failure",
                 format=MESSAGE_FORMAT)
        void problemResettingXASession​(@Cause
                                       java.lang.Throwable t)
      • unableToRollbackTX

        @LogMessage(level=WARN)
        @Message(id=152002,
                 value="Unable to roll local transaction back",
                 format=MESSAGE_FORMAT)
        void unableToRollbackTX()
      • unableToResetSession

        @LogMessage(level=WARN)
        @Message(id=152003,
                 value="unable to reset session after failure, we will place the MDB Inflow now in setup mode for activation={0}",
                 format=MESSAGE_FORMAT)
        void unableToResetSession​(java.lang.String spec,
                                  @Cause
                                  java.lang.Exception e)
      • handlingJMSFailure

        @LogMessage(level=WARN)
        @Message(id=152004,
                 value="Handling JMS exception failure",
                 format=MESSAGE_FORMAT)
        void handlingJMSFailure​(@Cause
                                java.lang.Exception e)
      • failureInActivation

        @LogMessage(level=WARN)
        @Message(id=152005,
                 value="Failure in broker activation {0}",
                 format=MESSAGE_FORMAT)
        void failureInActivation​(@Cause
                                 java.lang.Throwable t,
                                 ActiveMQActivationSpec spec)
      • unableToCallAfterDelivery

        @LogMessage(level=WARN)
        @Message(id=152006,
                 value="Unable to call after delivery",
                 format=MESSAGE_FORMAT)
        void unableToCallAfterDelivery​(@Cause
                                       java.lang.Exception e)
      • threadCouldNotFinish

        @LogMessage(level=WARN)
        @Message(id=152007,
                 value="Thread {0} could not be finished",
                 format=MESSAGE_FORMAT)
        void threadCouldNotFinish​(java.lang.String thread)
      • errorInterruptingHandler

        @LogMessage(level=WARN)
        @Message(id=152008,
                 value="Error interrupting handler on endpoint {0} handler = {1}",
                 format=MESSAGE_FORMAT)
        void errorInterruptingHandler​(java.lang.String endpoint,
                                      java.lang.String handler,
                                      @Cause
                                      java.lang.Throwable cause)
      • unableToValidateProperties

        @LogMessage(level=WARN)
        @Message(id=152009,
                 value="Unable to validate properties",
                 format=MESSAGE_FORMAT)
        void unableToValidateProperties​(@Cause
                                        java.lang.Exception e)
      • unableToClearTheTransaction

        @LogMessage(level=WARN)
        @Message(id=152010,
                 value="Unable to clear the transaction",
                 format=MESSAGE_FORMAT)
        void unableToClearTheTransaction​(@Cause
                                         java.lang.Exception e)
      • unableToCloseFactory

        @LogMessage(level=WARN)
        @Message(id=152011,
                 value="Unable to close the factory",
                 format=MESSAGE_FORMAT)
        void unableToCloseFactory​(@Cause
                                  java.lang.Throwable e)
      • errorCreatingReference

        @LogMessage(level=ERROR)
        @Message(id=154000,
                 value="Error while creating object Reference.",
                 format=MESSAGE_FORMAT)
        void errorCreatingReference​(@Cause
                                    java.lang.Exception e)
      • errorStoppingRA

        @LogMessage(level=ERROR)
        @Message(id=154001,
                 value="Unable to stop resource adapter.",
                 format=MESSAGE_FORMAT)
        void errorStoppingRA​(@Cause
                             java.lang.Exception e)
      • errorReconnecting

        @LogMessage(level=ERROR)
        @Message(id=154003,
                 value="Unable to reconnect {0}",
                 format=MESSAGE_FORMAT)
        void errorReconnecting​(@Cause
                               java.lang.Throwable t,
                               ActiveMQActivationSpec spec)
      • errorDeliveringMessage

        @LogMessage(level=ERROR)
        @Message(id=154004,
                 value="Failed to deliver message",
                 format=MESSAGE_FORMAT)
        void errorDeliveringMessage​(@Cause
                                    java.lang.Throwable t)
      • warnDifferentConnectionfactory

        @LogMessage(level=DEBUG)
        @Message(id=153001,
                 value="using different ActiveMQRAConnectionFactory",
                 format=MESSAGE_FORMAT)
        void warnDifferentConnectionfactory()
      • canNotCreatedNonSharedSubscriber

        @Message(id=153002,
                 value="Cannot create a subscriber on the durable subscription since it already has subscriber(s)")
        javax.jms.IllegalStateException canNotCreatedNonSharedSubscriber()
      • invalidAcknowledgementMode

        @LogMessage(level=WARN)
        @Message(id=153003,
                 value="Unsupported acknowledgement mode {0}",
                 format=MESSAGE_FORMAT)
        void invalidAcknowledgementMode​(java.lang.String mode)
      • invalidNumberOfMaxSession

        @LogMessage(level=WARN)
        @Message(id=153004,
                 value="Invalid number of session (negative) {0}, defaulting to {1}.",
                 format=MESSAGE_FORMAT)
        void invalidNumberOfMaxSession​(int value,
                                       int defaultValue)
      • unableToRetrieveDestinationName

        @LogMessage(level=WARN)
        @Message(id=153005,
                 value="Unable to retrieve \"{0}\" from JNDI. Creating a new \"{1}\" named \"{2}\" to be used by the MDB.",
                 format=MESSAGE_FORMAT)
        void unableToRetrieveDestinationName​(java.lang.String destinationName,
                                             java.lang.String name,
                                             java.lang.String calculatedDestinationName)