Package org.jboss.as.messaging.logging
Interface MessagingLogger
-
- All Superinterfaces:
org.jboss.logging.BasicLogger
- All Known Implementing Classes:
MessagingLogger_$logger
@MessageLogger(projectCode="WFLYMSG", length=4) public interface MessagingLogger extends org.jboss.logging.BasicLoggerDate: 10.06.2011- Author:
- James R. Perkins
-
-
Field Summary
Fields Modifier and Type Field Description static MessagingLoggerROOT_LOGGERThe logger with the category of the package.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringaltAttributeAlreadyDefined(String name)A message indicating the alternative attribute represented by thenameparameter is already defined.IllegalArgumentExceptionattributeDefinitionsMustMatch(String nameFound, String nameRequired)Creates an exception indicating that all attribute definitions must have the same XML name.IllegalArgumentExceptionattributeDefinitionsNotUnique(String nameFound)Creates an exception indicating that all attribute definitions must have unique names.StringcanNotChangeClusteredAttribute(org.jboss.as.controller.PathAddress address)StringcannotIncludeOperationParameters(String paramName1, String paramName2)A message indicating the operation cannot include the parameter represented byparamName1and the parameter represented by theparamName2parameter.StringcouldNotCreateLegacyConnectionFactoryUsingInVMConnector(org.jboss.as.controller.PathAddress address)StringcouldNotMigrateBroadcastGroup(org.jboss.as.controller.PathAddress address)StringcouldNotMigrateBroadcastGroupAttribute(String attribute, org.jboss.as.controller.PathAddress address)StringcouldNotMigrateBroadcastGroupWithoutConnectors(org.jboss.as.controller.PathAddress address)StringcouldNotMigrateDiscoveryGroup(org.jboss.as.controller.PathAddress address)StringcouldNotMigrateDiscoveryGroupAttribute(String attribute, org.jboss.as.controller.PathAddress address)StringcouldNotMigrateFailbackDelayAttribute(org.jboss.as.controller.PathAddress address)StringcouldNotMigrateHA(org.jboss.as.controller.PathAddress address)StringcouldNotMigrateInterceptors(String legacyInterceptorsAttributeName)StringcouldNotMigrateResourceAttributeWithExpression(String attribute, org.jboss.as.controller.PathAddress address)StringcouldNotMigrateUnsupportedAttribute(String attribute, org.jboss.as.controller.PathAddress address)voiddeprecatedAttribute(String name, org.jboss.as.controller.PathAddress address)Logs a warning message indicating the management attribute with the givennameis deprecated and will not be used anymore.voiddeprecatedXMLAttribute(String name)Logs a warning message indicating the XML attribute with the givennameis deprecated and will not be used anymore.voiddeprecatedXMLElement(String name)Logs a warning message indicating the XML element with the givennameis deprecated and will not be used anymore.voiddeprecatedXMLElement(String name, String replacement)Logs a warning message indicating the XML element with the givennameis deprecated and instead a different attribute will be used.org.jboss.as.controller.OperationFailedExceptionduplicateElements(String parameterName, org.jboss.dmr.ModelNode elements)XMLStreamExceptionignoringUnhandledElement(Element element, String location)Creates an exception indicating an unhandled element is being ignored.StringillegalElement(String illegalElement, String element)A message indicating an illegal element, represented by theillegalElementparameter, cannot be used when the element, represented by theelementparameter, is used.StringillegalValue(Object value, String element)A message indicating an illegal value, represented by thevalueparameter, for the element, represented by theelementparameter.StringillegalValue(Object value, String element, org.jboss.dmr.ModelType expectedType)A message indicating an illegal value, represented by thevalueparameter, for the element, represented by theelementparameter, as it could not be converted to the required type, represented by theexpectedTypeparameter.org.jboss.as.controller.OperationFailedExceptioninconsistentStatisticsSettings(String attrOne, String attrTwo)Stringinvalid(Object obj)A message indicating the object, represented by theobjparameter, is invalid.StringinvalidOperationParameters(String paramName1, String paramName2)A message indicating the operation must include the parameter represented byparamName1or the parameter represented by theparamName2parameter.org.jboss.as.controller.OperationFailedExceptionmigrateOperationAllowedOnlyInAdminOnly()StringmigrationFailed()IllegalStateExceptionmultipleChildrenFound(String element)Creates an exception indicating multiple children, represented by theelementparameter, were found, but not allowed.voidnoMatchingDeadLetterAddress(String address, String addressSettings)Logs a warn message when there is no resource matching the address-settings' dead-letter-address.voidnoMatchingExpiryAddress(String address, String addressSettings)Logs a warn message when there is no resource matching the address-settings' expiry-address.StringonlyOneRequired(Object obj1, Object obj2)A message indicating only of ofobj1orobj2is allowed.Stringrequired(Object obj)A message the object, represented by theobjparameter, is required.Stringrequired(Object obj1, Object obj2)A message indicating eitherobj1orobj2is required.StringundefineAttributeWithoutAlternative(String name)A message indicating the alternative attribute represented by thenameparameter can not be undefined as the resource has not defined any other alternative .UnsupportedOperationExceptionunsupportedElement(String name)Creates an exception indicating that no support for the element, represented by thenameparameter, has been implemented.org.jboss.as.controller.OperationFailedExceptionwrongConnectorRefInBroadCastGroup(String bgName, String connectorRef, Collection<String> presentConnectors)Create a failure description message indicating that the given broadcast-group's connector reference is not present in the listed connectors.-
Methods inherited from interface org.jboss.logging.BasicLogger
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnv
-
-
-
-
Field Detail
-
ROOT_LOGGER
static final MessagingLogger ROOT_LOGGER
The logger with the category of the package.
-
-
Method Detail
-
deprecatedXMLElement
@LogMessage(level=WARN) @Message(id=9, value="Element %s is deprecated and will not be taken into account") void deprecatedXMLElement(String name)Logs a warning message indicating the XML element with the givennameis deprecated and will not be used anymore.- Parameters:
name- the name of the deprecated XML element
-
deprecatedXMLAttribute
@LogMessage(level=WARN) @Message(id=10, value="Attribute %s is deprecated and will not be taken into account") void deprecatedXMLAttribute(String name)Logs a warning message indicating the XML attribute with the givennameis deprecated and will not be used anymore.- Parameters:
name- the name of the deprecated XML attribute
-
deprecatedAttribute
@LogMessage(level=WARN) @Message(id=13, value="Attribute %s of the resource at %s is deprecated and setting its value will not be taken into account") void deprecatedAttribute(String name, org.jboss.as.controller.PathAddress address)Logs a warning message indicating the management attribute with the givennameis deprecated and will not be used anymore.- Parameters:
name- the name of the deprecated XML attribute
-
canNotChangeClusteredAttribute
@Message(id=14, value="Can not change the clustered attribute to false: The hornetq-server resource at %s has cluster-connection children resources and will remain clustered.") String canNotChangeClusteredAttribute(org.jboss.as.controller.PathAddress address)
-
deprecatedXMLElement
@LogMessage(level=WARN) @Message(id=17, value="Element %s is deprecated and %s will be used in its place") void deprecatedXMLElement(String name, String replacement)Logs a warning message indicating the XML element with the givennameis deprecated and instead a different attribute will be used.- Parameters:
name- the name of the deprecated XML element
-
altAttributeAlreadyDefined
@Message(id=19, value="Alternative attribute of (%s) is already defined.") String altAttributeAlreadyDefined(String name)A message indicating the alternative attribute represented by thenameparameter is already defined.- Parameters:
name- the attribute name.- Returns:
- the message.
-
attributeDefinitionsMustMatch
@Message(id=20, value="All attribute definitions must have the same xml name -- found %s but already had %s") IllegalArgumentException attributeDefinitionsMustMatch(String nameFound, String nameRequired)Creates an exception indicating that all attribute definitions must have the same XML name.- Parameters:
nameFound- the name found.nameRequired- the name that is required.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
attributeDefinitionsNotUnique
@Message(id=21, value="All attribute definitions must have unique names -- already found %s") IllegalArgumentException attributeDefinitionsNotUnique(String nameFound)Creates an exception indicating that all attribute definitions must have unique names.- Parameters:
nameFound- the name found.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
cannotIncludeOperationParameters
@Message(id=23, value="Operation cannot include both parameter %s and parameter %s") String cannotIncludeOperationParameters(String paramName1, String paramName2)A message indicating the operation cannot include the parameter represented byparamName1and the parameter represented by theparamName2parameter.- Parameters:
paramName1- the name of the parameter.paramName2- the name of the parameter.- Returns:
- the message.
-
ignoringUnhandledElement
@Message(id=34, value="Ignoring unhandled element: %s, at: %s") XMLStreamException ignoringUnhandledElement(Element element, String location)Creates an exception indicating an unhandled element is being ignored.- Parameters:
element- the element that's being ignored.location- the location of the element.- Returns:
- a
XMLStreamExceptionfor the error.
-
illegalElement
@Message(id=35, value="Illegal element %s: cannot be used when %s is used") String illegalElement(String illegalElement, String element)A message indicating an illegal element, represented by theillegalElementparameter, cannot be used when the element, represented by theelementparameter, is used.- Parameters:
illegalElement- the illegal element.element- the element theillegalElementcannot be used with.- Returns:
- the message.
-
illegalValue
@Message(id=36, value="Illegal value %s for element %s") String illegalValue(Object value, String element)A message indicating an illegal value, represented by thevalueparameter, for the element, represented by theelementparameter.- Parameters:
value- the illegal value.element- the element.- Returns:
- the message.
-
illegalValue
@Message(id=-1, value="Illegal value %s for element %s as it could not be converted to required type %s") String illegalValue(Object value, String element, org.jboss.dmr.ModelType expectedType)A message indicating an illegal value, represented by thevalueparameter, for the element, represented by theelementparameter, as it could not be converted to the required type, represented by theexpectedTypeparameter.- Parameters:
value- the illegal value.element- the element.expectedType- the required type.- Returns:
- the message.
-
invalid
@Message(id=38, value="%s is invalid") String invalid(Object obj)A message indicating the object, represented by theobjparameter, is invalid.- Parameters:
obj- the invalid object.- Returns:
- the message.
-
invalidOperationParameters
@Message(id=40, value="Operation must include parameter %s or parameter %s") String invalidOperationParameters(String paramName1, String paramName2)A message indicating the operation must include the parameter represented byparamName1or the parameter represented by theparamName2parameter.- Parameters:
paramName1- the name of the parameter.paramName2- the name of the parameter.- Returns:
- the message.
-
multipleChildrenFound
@Message(id=44, value="Multiple %s children found; only one is allowed") IllegalStateException multipleChildrenFound(String element)Creates an exception indicating multiple children, represented by theelementparameter, were found, but not allowed.- Parameters:
element- the element- Returns:
- an
IllegalStateExceptionfor the error.
-
required
@Message(id=45, value="%s is required") String required(Object obj)A message the object, represented by theobjparameter, is required.- Parameters:
obj- the object that is required.- Returns:
- the message.
-
required
@Message(id=46, value="Either %s or %s is required") String required(Object obj1, Object obj2)A message indicating eitherobj1orobj2is required.- Parameters:
obj1- the first option.obj2- the second option.- Returns:
- the message.
-
unsupportedElement
@Message(id=51, value="Implement support for element %s") UnsupportedOperationException unsupportedElement(String name)Creates an exception indicating that no support for the element, represented by thenameparameter, has been implemented.- Parameters:
name- the name of the element.- Returns:
- an
UnsupportedOperationExceptionfor the error.
-
onlyOneRequired
@Message(id=59, value="Only one of %s or %s is required") String onlyOneRequired(Object obj1, Object obj2)A message indicating only of ofobj1orobj2is allowed.- Parameters:
obj1- the first option.obj2- the second option.- Returns:
- the message.
-
wrongConnectorRefInBroadCastGroup
@Message(id=67, value="The broadcast group \'%s\' defines reference to nonexistent connector \'%s\'. Available connectors \'%s\'.") org.jboss.as.controller.OperationFailedException wrongConnectorRefInBroadCastGroup(String bgName, String connectorRef, Collection<String> presentConnectors)Create a failure description message indicating that the given broadcast-group's connector reference is not present in the listed connectors.- Returns:
- an
OperationFailedExceptionfor the error.
-
undefineAttributeWithoutAlternative
@Message(id=69, value="Attribute (%s) can not been undefined as the resource does not define any alternative to this attribute.") String undefineAttributeWithoutAlternative(String name)A message indicating the alternative attribute represented by thenameparameter can not be undefined as the resource has not defined any other alternative .- Parameters:
name- the attribute name.- Returns:
- the message.
-
inconsistentStatisticsSettings
@Message(id=70, value="Attributes %s is an alias for attribute %s; both cannot be set with conflicting values.") org.jboss.as.controller.OperationFailedException inconsistentStatisticsSettings(String attrOne, String attrTwo)
-
noMatchingExpiryAddress
@LogMessage(level=WARN) @Message(id=71, value="There is no resource matching the expiry-address %s for the address-settings %s, expired messages from destinations matching this address-setting will be lost!") void noMatchingExpiryAddress(String address, String addressSettings)Logs a warn message when there is no resource matching the address-settings' expiry-address.- Parameters:
address- the name of the address-settings' missing expiry-addressaddressSettings- the name of the address-settings
-
noMatchingDeadLetterAddress
@LogMessage(level=WARN) @Message(id=72, value="There is no resource matching the dead-letter-address %s for the address-settings %s, undelivered messages from destinations matching this address-setting will be lost!") void noMatchingDeadLetterAddress(String address, String addressSettings)Logs a warn message when there is no resource matching the address-settings' dead-letter-address.- Parameters:
address- the name of the address-settings' missing dead-letter-addressaddressSettings- the name of the address-settings
-
duplicateElements
@Message(id=76, value="Parameter %s contains duplicate elements [%s]") org.jboss.as.controller.OperationFailedException duplicateElements(String parameterName, org.jboss.dmr.ModelNode elements)
-
migrateOperationAllowedOnlyInAdminOnly
@Message(id=79, value="The migrate operation can not be performed: the server must be in admin-only mode") org.jboss.as.controller.OperationFailedException migrateOperationAllowedOnlyInAdminOnly()
-
couldNotMigrateBroadcastGroupAttribute
@Message(id=80, value="Can not migrate attribute %s to resource %s. Use instead the socket-binding attribute to configure this broadcast-group.") String couldNotMigrateBroadcastGroupAttribute(String attribute, org.jboss.as.controller.PathAddress address)
-
migrationFailed
@Message(id=81, value="Migration failed, see results for more details.") String migrationFailed()
-
couldNotMigrateInterceptors
@Message(id=82, value="Classes providing the %s are discarded during the migration. To use them in the new messaging-activemq subsystem, you will have to extend the Artemis-based Interceptor.") String couldNotMigrateInterceptors(String legacyInterceptorsAttributeName)
-
couldNotMigrateHA
@Message(id=83, value="Can not migrate the HA configuration of %s. Its shared-store and backup attributes holds expressions and it is not possible to determine unambiguously how to create the corresponding ha-policy for the messaging-activemq\'s server.") String couldNotMigrateHA(org.jboss.as.controller.PathAddress address)
-
couldNotMigrateDiscoveryGroupAttribute
@Message(id=84, value="Can not migrate attribute %s to resource %s. Use instead the socket-binding attribute to configure this discovery-group.") String couldNotMigrateDiscoveryGroupAttribute(String attribute, org.jboss.as.controller.PathAddress address)
-
couldNotCreateLegacyConnectionFactoryUsingInVMConnector
@Message(id=85, value="Can not create a legacy-connection-factory based on connection-factory %s. It uses a HornetQ in-vm connector that is not compatible with Artemis in-vm connector ") String couldNotCreateLegacyConnectionFactoryUsingInVMConnector(org.jboss.as.controller.PathAddress address)
-
couldNotMigrateResourceAttributeWithExpression
@Message(id=86, value="Can not migrate attribute %s to resource %s. The attribute uses an expression that can be resolved differently depending on system properties. After migration, this attribute must be added back with an actual value instead of the expression.") String couldNotMigrateResourceAttributeWithExpression(String attribute, org.jboss.as.controller.PathAddress address)
-
couldNotMigrateUnsupportedAttribute
@Message(id=87, value="Can not migrate attribute %s to resource %s. This attribute is not supported by the new messaging-activemq subsystem.") String couldNotMigrateUnsupportedAttribute(String attribute, org.jboss.as.controller.PathAddress address)
-
couldNotMigrateFailbackDelayAttribute
@Message(id=88, value="Can not migrate attribute failback-delay to resource %s. Artemis detects failback deterministically and it no longer requires to specify a delay for failback to occur.") String couldNotMigrateFailbackDelayAttribute(org.jboss.as.controller.PathAddress address)
-
couldNotMigrateDiscoveryGroup
@Message(id=89, value="Can not migrate discovery group %s as no network configuration is properly defined.") String couldNotMigrateDiscoveryGroup(org.jboss.as.controller.PathAddress address)
-
couldNotMigrateBroadcastGroup
@Message(id=90, value="Can not migrate broadcast group %s as no network configuration is properly defined.") String couldNotMigrateBroadcastGroup(org.jboss.as.controller.PathAddress address)
-
couldNotMigrateBroadcastGroupWithoutConnectors
@Message(id=91, value="Can not migrate broadcast group %s as no connector is properly defined.") String couldNotMigrateBroadcastGroupWithoutConnectors(org.jboss.as.controller.PathAddress address)
-
-