本文整理了Java中org.jboss.logging.Message
类的一些代码示例,展示了Message
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Message
类的具体详情如下:
包路径:org.jboss.logging.Message
类名称:Message
暂无
代码示例来源:origin: org.hornetq/hornetq-core-client
@LogMessage(level = Logger.Level.WARN)
@Message(
id = 212008,
value = "I am closing a core ClientSessionFactory you left open. Please make sure you close all ClientSessionFactories explicitly "
+ "before letting them go out of scope! {0}"
, format = Message.Format.MESSAGE_FORMAT)
void factoryLeftOpen(@Cause Exception e, int i);
代码示例来源:origin: org.hornetq/hornetq-core-client
@LogMessage(level = Logger.Level.WARN)
@Message(id = 212049, value = "Could not bind to {0} ({1} address); " +
"make sure your discovery group-address is of the same type as the IP stack (IPv4 or IPv6)." +
"\nIgnoring discovery group-address, but this may lead to cross talking.",
format = Message.Format.MESSAGE_FORMAT)
void ioDiscoveryError(String hostAddress, String s);
代码示例来源:origin: org.jboss.logging/jboss-logging-tools
private String createKey(final String projectCode, final Message message) {
final StringBuilder result = new StringBuilder();
result.append(projectCode);
result.append(":");
result.append(message.id());
return result.toString();
}
代码示例来源:origin: org.hornetq/hornetq-core-client
@LogMessage(level = Logger.Level.WARN)
@Message(id = 212036,
value = "Can not find packet to clear: {0} last received command id first stored command id {1}",
format = Message.Format.MESSAGE_FORMAT)
void cannotFindPacketToClear(Integer lastReceivedCommandID, Integer firstStoredCommandID);
代码示例来源:origin: org.hornetq/hornetq-core-client
@LogMessage(level = Logger.Level.WARN)
@Message(
id = 212029,
value = "Closing a Server Locator left open. Please make sure you close all Server Locators explicitly before letting them go out of scope! {0}",
format = Message.Format.MESSAGE_FORMAT)
void serverLocatorNotClosed(@Cause Exception e, int identity);
代码示例来源:origin: org.hornetq/hornetq-server
@LogMessage(level = Logger.Level.WARN)
@Message(id = 222156, value = "Less than {0}%\n{1}\nYou are in danger of running out of RAM. Have you set paging parameters " +
"on your addresses? (See user manual \"Paging\" chapter)" ,
format = Message.Format.MESSAGE_FORMAT)
void memoryError(Integer memoryWarningThreshold, String info);
代码示例来源:origin: org.hornetq/hornetq-core-client
@LogMessage(level = Logger.Level.WARN)
@Message(id = 212052,
value = "Packet {0} was answered out of sequence due to a previous server timeout and it''s being ignored",
format = Message.Format.MESSAGE_FORMAT)
void packetOutOfOrder(Object obj, @Cause Throwable t);
代码示例来源:origin: org.hornetq/hornetq-server
@LogMessage(level = Logger.Level.WARN)
@Message(id = 222176,
value = "A session that was already doing XA work on {0} is replacing the xid by {1} " +
". This was most likely caused from a previous communication timeout",
format = Message.Format.MESSAGE_FORMAT)
void xidReplacedOnXStart(String xidOriginalToString, String xidReplacedToString);
代码示例来源:origin: org.hornetq/hornetq-core-client
@LogMessage(level = Logger.Level.WARN)
@Message(
id = 212007,
value = "connector.create or connectorFactory.createConnector should never throw an exception, implementation is badly behaved, but we will deal with it anyway."
, format = Message.Format.MESSAGE_FORMAT)
void createConnectorException(@Cause Exception e);
代码示例来源:origin: org.hornetq/hornetq-server
@LogMessage(level = Logger.Level.WARN)
@Message(id = 222056, value = "Did not route to any bindings for address {0} and sendToDLAOnNoRoute is true " +
"but there is no DLA configured for the address, the message will be ignored.",
format = Message.Format.MESSAGE_FORMAT)
void noDLA(SimpleString address);
代码示例来源:origin: org.hornetq/hornetq-core-client
@LogMessage(level = Logger.Level.WARN)
@Message(id = 212051,
value = "Invalid concurrent session usage. Sessions are not supposed to be used by more than one thread concurrently.",
format = Message.Format.MESSAGE_FORMAT)
void invalidConcurrentSessionUsage(@Cause Throwable t);
代码示例来源:origin: org.hornetq/hornetq-server
@LogMessage(level = Logger.Level.WARN)
@Message(id = 222163, value = "Server is being completely stopped, since this was a replicated backup there may be " +
"journal files that need cleaning up. The HornetQ server will have to be manually restarted.",
format = Message.Format.MESSAGE_FORMAT)
void stopReplicatedBackupAfterFailback();
代码示例来源:origin: org.hornetq/hornetq-core-client
@LogMessage(level = Logger.Level.WARN)
@Message(
id = 212016,
value = "I am closing a core ClientSession you left open. Please make sure you close all ClientSessions explicitly before letting them go out of scope! {0}",
format = Message.Format.MESSAGE_FORMAT)
void clientSessionNotClosed(@Cause Exception e, int identity);
代码示例来源:origin: org.hibernate/com.springsource.org.hibernate
@LogMessage(level = WARN)
@Message(value = "Warning parsing XML: %s(%s) %s", id = 199)
void parsingXmlWarningForFile(String file,
int lineNumber,
String message);
代码示例来源:origin: org.hornetq/hornetq-jboss-as-integration
@LogMessage(level = Logger.Level.WARN)
@Message(id = 132001, value = "An error happened while setting the context",
format = Message.Format.MESSAGE_FORMAT)
void errorSettingSecurityContext(@Cause Throwable Throwable);
}
代码示例来源:origin: org.hibernate/com.springsource.org.hibernate
@LogMessage(level = INFO)
@Message(value = "Encountered legacy TransactionManagerLookup specified; convert to newer %s contract specified via %s setting",
id = 428)
void legacyTransactionManagerStrategy(String name,
String jtaPlatform);
代码示例来源:origin: org.hornetq/hornetq-server
@LogMessage(level = Logger.Level.WARN)
@Message(id = 222111, value = "exception while invoking {0} on {1}",
format = Message.Format.MESSAGE_FORMAT)
void managementOperationError(@Cause Exception e, String op, String resourceName);
代码示例来源:origin: org.hornetq/hornetq-core-client
/**
* Warns about usage of {@link SendAcknowledgementHandler} or JMS's {@code CompletionWindow} with
* confirmations disabled (confirmationWindowSize=-1).
*/
@LogMessage(level = Logger.Level.WARN)
@Message(id = 212053,
value = "CompletionListener/SendAcknowledgementHandler used with confirmationWindowSize=-1. Enable confirmationWindowSize to receive acks from server!",
format = Message.Format.MESSAGE_FORMAT)
void confirmationWindowDisabledWarning();
代码示例来源:origin: org.hornetq/hornetq-server
@LogMessage(level = Logger.Level.WARN)
@Message(id = 222115, value = "Error closing serverLocator={0}",
format = Message.Format.MESSAGE_FORMAT)
void errorClosingServerLocator(@Cause Exception e, ServerLocatorInternal clusterLocator);
代码示例来源:origin: org.hornetq/hornetq-core-client
@LogMessage(level = Logger.Level.WARN)
@Message(id = 212054,
value = "Destination address={0} is blocked. If the system is configured to block make sure you consume messages on this configuration.",
format = Message.Format.MESSAGE_FORMAT)
void outOfCreditOnFlowControl(String address);
内容来源于网络,如有侵权,请联系作者删除!