Package org.apache.activemq
Class TransportLoggerSupport
- java.lang.Object
-
- org.apache.activemq.TransportLoggerSupport
-
public class TransportLoggerSupport extends Object
- Author:
- Hiram Chirino
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TransportLoggerSupport.SPI
-
Field Summary
Fields Modifier and Type Field Description static int
defaultJmxPort
Default port to control the transport loggers through JMXstatic String
defaultLogWriterName
static TransportLoggerSupport.SPI
spi
-
Constructor Summary
Constructors Constructor Description TransportLoggerSupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Transport
createTransportLogger(Transport transport)
static Transport
createTransportLogger(Transport transport, String logWriterName, boolean dynamicManagement, boolean startLogging, int jmxPort)
-
-
-
Field Detail
-
defaultLogWriterName
public static String defaultLogWriterName
-
defaultJmxPort
public static int defaultJmxPort
Default port to control the transport loggers through JMX
-
spi
public static final TransportLoggerSupport.SPI spi
-
-
Method Detail
-
createTransportLogger
public static Transport createTransportLogger(Transport transport) throws IOException
- Throws:
IOException
-
createTransportLogger
public static Transport createTransportLogger(Transport transport, String logWriterName, boolean dynamicManagement, boolean startLogging, int jmxPort) throws IOException
- Throws:
IOException
-
-