forked from rh-messaging/artemis-wildfly-integration
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue#38: Upgrade to Apache Artemis 2.29
* Upgrade to Apache Artemis 2.29 * Add the missing slf4j and artemis logging dependencies Issue rh-messaging#38 Signed-off-by: Emmanuel Hugonnet <[email protected]>
- Loading branch information
Showing
5 changed files
with
69 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,16 +21,10 @@ | |
*/ | ||
package org.jboss.activemq.artemis.wildfly; | ||
|
||
import static org.apache.activemq.artemis.spi.core.remoting.ssl.SSLContextFactory.log; | ||
|
||
import javax.security.auth.Subject; | ||
|
||
import org.jboss.logging.BasicLogger; | ||
import org.jboss.logging.Logger; | ||
import org.jboss.logging.annotations.Cause; | ||
import org.jboss.logging.annotations.LogMessage; | ||
import org.jboss.logging.annotations.Message; | ||
import org.jboss.logging.annotations.MessageLogger; | ||
import org.apache.activemq.artemis.logs.BundleFactory; | ||
import org.apache.activemq.artemis.logs.annotation.LogBundle; | ||
import org.apache.activemq.artemis.logs.annotation.LogMessage; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Andy Taylor</a> | ||
|
@@ -49,21 +43,18 @@ | |
* | ||
* so an INFO message would be 131000 to 131999 | ||
*/ | ||
@MessageLogger(projectCode = "AMQ") | ||
public interface ActiveMQJBossLogger extends BasicLogger { | ||
|
||
@LogBundle(projectCode = "AMQ", regexID = "13[0-9]{4}") | ||
public interface ActiveMQJBossLogger { | ||
|
||
/** | ||
* The jboss integration logger. | ||
*/ | ||
ActiveMQJBossLogger LOGGER = Logger.getMessageLogger(ActiveMQJBossLogger.class, ActiveMQJBossLogger.class.getPackage().getName()); | ||
ActiveMQJBossLogger LOGGER = BundleFactory.newBundle(ActiveMQJBossLogger.class, ActiveMQJBossLogger.class.getPackage().getName()); | ||
|
||
@LogMessage(level = Logger.Level.INFO) | ||
@Message(id = 131001, value = "Security Context Setting Subject = {0}", | ||
format = Message.Format.MESSAGE_FORMAT) | ||
@LogMessage(id = 131001, value = "Security Context Setting Subject = {}", level = LogMessage.Level.INFO) | ||
void settingSecuritySubject(Subject subject); | ||
|
||
@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); | ||
@LogMessage(id = 132001, value = "An error happened while setting the context", level = LogMessage.Level.WARN) | ||
void errorSettingSecurityContext(Throwable Throwable); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters