servicemix-4.5.3 启动日志
karaf@root> log:display
2015-01-12 10:48:03,950 | WARN | rint Extender: 3 | XBeanNamespaceHandler | 66 - org.apache.xbean.blueprint- 3.11.1 |
Could not load class: org.apache.activemq.store.journal.JournalPersistenceAdapter due to org/apache/activeio/journal/JournalEventListener
2015-01-12 10:48:03,951 | INFO | Thread-5 | ContextLoaderListener | 82 - org.springframework.osgi.extender - 1.2.1 |
Starting [org.springframework.osgi.extender] bundle v.[1.2.1]
2015-01-12 10:48:03,952 | WARN | rint Extender: 3 | XBeanNamespaceHandler | 66 - org.apache.xbean.blueprint- 3.11.1 |
Could not load class: org.apache.activemq.store.leveldb.LevelDBPersistenceAdapter
2015-01-12 10:48:03,973 | WARN | rint Extender: 3 | XBeanNamespaceHandler | 66 - org.apache.xbean.blueprint- 3.11.1 |
Could not load class: org.apache.activemq.store.journal.JournalPersistenceAdapterFactory due to org/apache/activeio/journal/active/JournalLockedException
2015-01-12 10:48:03,984 | WARN | Thread-5 | NamespaceManager | 82 - org.springframework.osgi.ex tender - 1.2.1 |
Bundle activemq-ra (org.apache.activemq.activemq-ra) cannot see class [org.spring
framework.beans.factory.xml.NamespaceHandlerResolver]; ignoring its namespace handlers
2015-01-12 10:48:04,053 | WARN | rint Extender: 3 | XBeanNamespaceHandler | 66 - org.apache.xbean.blueprint- 3.11.1 |
Could not load class: org.apache.activemq.store.PersistenceAdapterFactoryBean due to org/apache/activeio/journal/active/JournalLockedException
2015-01-12 10:48:04,106 | INFO | Thread-5 | ExtenderConfiguration | 82 - org.springframework.osgi.ex tender - 1.2.1 |
No custom extender configuration detected; using defaults...
2015-01-12 10:48:04,128 | INFO | Thread-5 | TimerTaskExecutor | 73 - org.springframework.context - 3.0.7.RELEASE |Initializing Timer
2015-01-12 10:48:04,976 | INFO | rint Extender: 1 | PListStore | 64 - org.apache.activemq.activem q-core - 5.7.0 |
PListStore:[D:\osesbinaction\esb\apache-servicemix-4.5.3\data\activemq\default\default\tmp_storage] started
2015-01-12 10:48:04,986 | INFO | rint Extender: 1 | BrokerService | 64 - org.apache.activemq.activem q-core - 5.7.0 |
Using Persistence Adapter: KahaDBPersistenceAdapter[D:\osesbinaction\esb\apache-servicemix-4.5.3\data\activemq\default\kahadb]
2015-01-12 10:48:05,224 | INFO | Thread-5 | Activator | 100 - org.apache.camel.camel-core - 2.10.7 | Camel activator starting
2015-01-12 10:48:05,297 | INFO | rint Extender: 1 | BrokerService | 64 - org.apache.activemq.activem q-core - 5.7.0 |
Apache ActiveMQ 5.7.0 (default, ID:asn-wt-8213-1421030885148-0:1) is starting
2015-01-12 10:48:05,322 | INFO | rint Extender: 1 | TransportServerThreadSupport | 64 - org.apache.activemq.activem q-core - 5.7.0 |
Listening for connections at: tcp://127.0.0.1:61616
2015-01-12 10:48:05,325 | INFO | rint Extender: 1 | TransportConnector | 64 - org.apache.activemq.activem q-core - 5.7.0 |Connector openwire Started
2015-01-12 10:48:05,318 | INFO | Thread-5 | Activator | 100 - org.apache.camel.camel-core - 2.10.7 | Camel activator started
2015-01-12 10:48:05,372 | INFO | rint Extender: 1 | TransportServerThreadSupport | 64 - org.apache.activemq.activemq-core - 5.7.0 | Listening for connections at: stomp://127.0.0.1:61613
2015-01-12 10:48:05,372 | INFO | rint Extender: 1 | TransportConnector | 64 - org.apache.activemq.activemq-core - 5.7.0 | Connector stomp Started
2015-01-12 10:48:05,374 | INFO | rint Extender: 1 | BrokerService | 64 - org.apache.activemq.activem q-core - 5.7.0 |
Apache ActiveMQ 5.7.0 (default, ID:asn-wt-8213-1421030885148-0:1) started
2015-01-12 10:48:05,374 | INFO | rint Extender: 1 | BrokerService | 64 - org.apache.activemq.activem q-core - 5.7.0 |For help or more information please see: http://activemq.apache.org
2015-01-12 10:48:05,375 | WARN | rint Extender: 1 | BrokerService | 64 - org.apache.activemq.activem q-core - 5.7.0 |
Store limit is 102400 mb, whilst the data directory: D:\osesbinaction\esb\apache-servicemix-4.5.3\data\activemq\default\kahadb only has 7315 mb of usable space
2015-01-12 10:48:05,376 | ERROR | rint Extender: 1 | BrokerService | 64 - org.apache.activemq.activem q-core - 5.7.0 |
Temporary Store limit is 51200 mb, whilst the temporary data directory: D:\osesbinaction\esb\apache-servicemix-4.5.3\data\activemq\default\default\tmp_storage only has 7315 mb of usable space
2015-01-12 10:48:05,387 | INFO | rint Extender: 1 | TransportConnector | 64 - org.apache.activemq.activemq-core - 5.7.0 | Connector vm://default Started
2015-01-12 10:48:05,650 | INFO | Thread-5 | CXFActivator | 132 - org.apache.cxf.cxf-api - 2.6.9 |
Adding the extensions from bundle org.apache.cxf.cxf-rt-management (129) [org.apache.cxf.management.InstrumentationManager]
2015-01-12 10:48:05,730 | INFO | Thread-5 | CXFActivator | 132 - org.apache.cxf.cxf-api - 2.6.9 |
Adding the extensions from bundle org.apache.cxf.cxf-rt-bindings-soap (134) [org.apache.cxf.binding.soap.SoapBindingFactory, org.apache.cxf.binding.soap.SoapTransportFactory]
2015-01-12 10:48:05,736 | INFO | Thread-5 | CXFActivator | 132 - org.apache.cxf.cxf-api - 2.6.9 |
Adding the extensions from bundle org.apache.cxf.cxf-rt-bindings-xml (135) [org.apache.cxf.binding.xml.XMLBindingFactory, org.apache.cxf.binding.xml.wsdl11.XMLWSDLExtensionLoader]
2015-01-12 10:48:05,829 | INFO | Thread-5 | Server | 120 - org.eclipse.jetty.util - 7.5.4.v20111024 | jetty-7.5.4.v20111024
2015-01-12 10:48:05,883 | INFO | Thread-5 | JettyServerImpl | 136 - org.ops4j.pax.web.pax-web-jetty - 1.0.12.1 | Pax Web available at [0.0.0.0]:[8181]
2015-01-12 10:48:05,888 | INFO | Thread-5 | AbstractConnector | 120 - org.eclipse.jetty.util - 7.5.4.v20111024 | Started NIOSocketConnectorWrapper@0.0.0.0:8181 STARTING
2015-01-12 10:48:05,901 | INFO | Thread-5 | Activator | 138 - org.ops4j.pax.web.pax-web-runtime - 1.0.12.1 | Pax Web started
2015-01-12 10:48:05,936 | INFO | Thread-5 | HttpServiceFactoryImpl | 138 - org.ops4j.pax.web.pax-web-runtime - 1.0.12.1 | Binding bundle: [org.apache.karaf.deployer.features [35]] to http service
2015-01-12 10:48:05,996 | INFO | Thread-5 | CXFActivator | 132 - org.apache.cxf.cxf-api - 2.6.9 |
Adding the extensions from bundle org.apache.cxf.cxf-rt-ws-policy (159)
[
org.apache.cxf.ws.policy.PolicyEngine,
org.apache.cxf.policy.PolicyDataEngine,
org.apache.cxf.ws.policy.AssertionBuilderRegistry,
org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistry,
org.apache.cxf.ws.policy.PolicyBuilder,
org.apache.cxf.ws.policy.PolicyAnnotationListener,
org.apache.cxf.ws.policy.attachment.ServiceModelPolicyProvider,
org.apache.cxf.ws.policy.attachment.external.DomainExpressionBuilderRegistry,
org.apache.cxf.ws.policy.attachment.external.EndpointReferenceDomainExpressionBuilder,
org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider,
org.apache.cxf.ws.policy.mtom.MTOMAssertionBuilder,
org.apache.cxf.ws.policy.mtom.MTOMPolicyInterceptorProvider]
2015-01-12 10:48:05,996 | INFO | Thread-5 | CXFActivator | 132 - org.apache.cxf.cxf-api - 2.6.9 |
Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-http (141)
[
org.apache.cxf.transport.http.HTTPTransportFactory,
org.apache.cxf.transport.http.HTTPWSDLExtensionLoader,
org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder,
org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder,
org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider]
2015-01-12 10:48:06,036 | INFO | Thread-5 | CXFActivator | 132 - org.apache.cxf.cxf-api - 2.6.9 |
Adding the extensions from bundle org.apache.cxf.cxf-rt-frontend-jaxws (143) [org.apache.cxf.jaxws.context.WebServiceContextResourceResolver]
2015-01-12 10:48:06,733 | INFO | g.ops4j.pax.web) | Server | 120 - org.eclipse.jetty.util - 7.5.4.v20111024 | jetty-7.5.4.v20111024
2015-01-12 10:48:06,737 | INFO | g.ops4j.pax.web) | AbstractConnector | 120 - org.eclipse.jetty.util - 7.5.4.v20111024 | Started BlockingChannelConnector@0.0.0.0:8181 STARTING
2015-01-12 10:48:06,737 | INFO | g.ops4j.pax.web) | JettyServerImpl | 136 - org.ops4j.pax.web.pax-web-jetty - 1.0.12.1 | Pax Web available at [0.0.0.0]:[8181]
2015-01-12 10:48:06,738 | WARN | g.ops4j.pax.web) | NIOSocketConnectorWrapper | 136 - org.ops4j.pax.web.pax-web-jetty - 1.0.12.1 | Connection on port 8181 cannot be open. Reason: Address already in use: bind
2015-01-12 10:48:06,829 | INFO | g.ops4j.pax.web) | ContextHandler | 120 - org.eclipse.jetty.util - 7.5.4.v20111024 |
started HttpServiceContext
{
httpContext=DefaultHttpContext
{
bundle=org.apache.karaf.deployer.features [35]
}
}
2015-01-12 10:48:06,895 | INFO | Thread-5 | CXFActivator | 132 - org.apache.cxf.cxf-api - 2.6.9 |
Adding the extensions from bundle org.apache.cxf.cxf-rt-bindings-corba (151) [org.apache.cxf.binding.corba.CorbaBindingFactory, org.apache.cxf.binding.corba.wsdl.WSDLExtensionRegister]
2015-01-12 10:48:06,913 | INFO | Thread-5 | CXFActivator | 132 - org.apache.cxf.cxf-api - 2.6.9 |
Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-local (153) [org.apache.cxf.transport.local.LocalTransportFactory]
2015-01-12 10:48:06,921 | INFO | Thread-5 | CXFActivator | 132 - org.apache.cxf.cxf-api - 2.6.9 |
Adding the extensions from bundle org.apache.cxf.cxf-rt-bindings-object (154) [org.apache.cxf.binding.object.ObjectBindingFactory]
2015-01-12 10:48:06,951 | INFO | Thread-5 | CXFActivator | 132 - org.apache.cxf.cxf-api - 2.6.9 |
Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-http-jetty (155)
[
org.apache.cxf.transport.http_jetty.JettyDestinationFactory,
org.apache.cxf.transport.http_jetty.JettyHTTPServerEngineFactory,
org.apache.cxf.transport.http.ContinuationProviderFactory]
2015-01-12 10:48:06,965 | INFO | Thread-5 | CXFActivator | 132 - org.apache.cxf.cxf-api - 2.6.9 |
Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-jms (156) [org.apache.cxf.transport.jms.JMSTransportFactory, org.apache.cxf.transport.jms.wsdl11.JMSWSDLExtensionLoader]
2015-01-12 10:48:07,170 | INFO | rint Extender: 2 | HttpServiceFactoryImpl | 138 - org.ops4j.pax.web.pax-web- runtime - 1.0.12.1 |
Binding bundle: [org.apache.cxf.cxf-rt-transports-http [141]] to http service
2015-01-12 10:48:07,235 | INFO | rint Extender: 2 | ContextHandler | 120 - org.eclipse.jetty.util - 7.5.4.v20111024 |
started HttpServiceContext
{
httpContext=DefaultHttpContext
{
bundle=org.apache.cxf.cxf-rt-transports-http[141]
}
}
2015-01-12 10:48:07,322 | INFO | Thread-5 | CXFActivator | 132 - org.apache.cxf.cxf-api - 2.6.9 |
Adding the extensions from bundle org.apache.cxf.cxf-rt-ws-addr (163)
[
org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder,
org.apache.cxf.ws.addressing.policy.UsingAddressingAssertionBuilder,
org.apache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider,
org.apache.cxf.ws.addressing.impl.AddressingWSDLExtensionLoader,
org.apache.cxf.ws.addressing.WSAddressingFeature$WSAddressingFeatureApplier,
org.apache.cxf.ws.addressing.MAPAggregator$MAPAggregatorLoader]
2015-01-12 10:48:07,452 | INFO | Thread-5 | CXFActivator | 132 - org.apache.cxf.cxf-api - 2.6.9 |
Adding the extensions from bundle org.apache.cxf.cxf-rt-ws-mex (167) [org.apache.cxf.ws.mex.MEXServerListener]
2015-01-12 10:48:07,454 | INFO | Thread-5 | CXFActivator | 132 - org.apache.cxf.cxf-api - 2.6.9 |
Adding the extensions from bundle org.apache.cxf.cxf-rt-ws-security (165) [org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader, org.apache.cxf.ws.security.cache.CacheCleanupListener]
2015-01-12 10:48:07,470 | INFO | Thread-5 | CXFActivator | 132 - org.apache.cxf.cxf-api - 2.6.9 |
Adding the extensions from bundle org.apache.cxf.cxf-rt-ws-rm (166)
[org.apache.cxf.ws.rm.RMManager,
org.apache.cxf.ws.rm.policy.RMPolicyInterceptorProvider,
org.apache.cxf.ws.rm.policy.RMAssertionBuilder,
org.apache.cxf.ws.rm.policy.RM11AssertionBuilder]
2015-01-12 10:48:07,556 | INFO | Thread-5 | CXFActivator | 132 - org.apache.cxf.cxf-api - 2.6.9 |
Adding the extensions from bundle org.apache.cxf.cxf-rt-javascript (168) [org.apache.cxf.javascript.JavascriptQueryHandler]
2015-01-12 10:48:07,645 | INFO | Thread-5 | CXFActivator | 132 - org.apache.cxf.cxf-api - 2.6.9 |
Adding the extensions from bundle org.apache.camel.camel-cxf-transport (174) [org.apache.camel.component.cxf.transport.CamelTransportFactory]
karaf@root>
===========================================================
在apache-servicemix-4.5.3/delpoy目录下,放入sample1.xml文件
<?xml version="1.0" encoding="UTF-8"?>
<blueprint
xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.osgi.org/xmlns/blueprint/v1.0.0
http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd"> <camelContext xmlns="http://camel.apache.org/schema/blueprint">
<route>
<from uri="file:camel/input"/>
<log message="Moving ${file:name} to the output directory"/>
<to uri="file:camel/output"/>
</route>
</camelContext>
</blueprint>
查看到sample1.xml路由已被安装:
对应的日志信息:
2015-01-12 11:22:19,542 | INFO | mix-4.5.3/deploy | fileinstall | 7 - org.apache.felix.fileinstall - 3.2.4 |
Installed D:\osesbinaction\esb\apache-servicemix-4.5.3\deploy\sample1.xml
2015-01-12 11:22:19,557 | INFO | mix-4.5.3/deploy | fileinstall | 7 - org.apache.felix.fileinstall - 3.2.4 |
Started bundle: blueprint:file:/D:/osesbinaction/esb/apache-servicemix-4.5.3/deploy/sample1.xml
2015-01-12 11:22:20,682 | INFO | rint Extender: 1 | Activator | 100 - org.apache.camel.camel-core - 2.10.7 |
Found 2 @Converter classes to load
2015-01-12 11:22:20,698 | INFO | rint Extender: 1 | Activator | 100 - org.apache.camel.camel-core - 2.10.7 |
Found 2 @Converter classes to load
2015-01-12 11:22:20,714 | INFO | rint Extender: 1 | ManagementStrategyFactory | 100 - org.apache.camel.camel-core - 2.10.7 | JMX enabled.
2015-01-12 11:22:20,729 | INFO | rint Extender: 1 | BlueprintCamelContext | 100 - org.apache.camel.camel-core - 2.10.7 | Apache Camel 2.10.7 (CamelContext: 181-camel-3) is starting
2015-01-12 11:22:20,964 | INFO | rint Extender: 1 | BlueprintCamelContext | 100 - org.apache.camel.camel-core - 2.10.7 | Route: route1 started and consuming from: Endpoint[file://camel/input]
2015-01-12 11:22:20,964 | INFO | rint Extender: 1 | faultManagementLifecycleStrategy | 100 - org.apache.camel.camel-core - 2.10.7 | StatisticsLevel at All so enabling load performance statistics
2015-01-12 11:22:20,964 | INFO | rint Extender: 1 | BlueprintCamelContext | 100 - org.apache.camel.camel-core - 2.10.7 | Total 1 routes, of which 1 is started.
2015-01-12 11:22:20,964 | INFO | rint Extender: 1 | BlueprintCamelContext | 100 - org.apache.camel.camel-core - 2.10.7 | Apache Camel 2.10.7 (CamelContext: 181-camel-3) started in 0.235 seconds
在servicemix-4.53/camel/input下,移入mule.docx文件,对应的日志信息:
2015-01-12 11:35:58,992 | INFO | le://camel/input | route1 | 100 - org.apache.camel.camel-core - 2.10.7 | Moving mule.docx to the output directory
执行 osgi:stop 181 暂停路由:
2015-01-12 11:41:42,877 | INFO | l Console Thread | BlueprintCamelContext | 100 - org.apache.camel.camel-cor
e - 2.10.7 | Apache Camel 2.10.7 (CamelContext: 181-camel-3) is shutting down
2015-01-12 11:41:42,877 | INFO | l Console Thread | DefaultShutdownStrategy | 100 - org.apache.camel.camel-cor
e - 2.10.7 | Starting to graceful shutdown 1 routes (timeout 300 seconds)
2015-01-12 11:41:42,877 | INFO | 2 - ShutdownTask | DefaultShutdownStrategy | 100 - org.apache.camel.camel-cor
e - 2.10.7 | Route: route1 shutdown complete, was consuming from: Endpoint[file://camel/input]
2015-01-12 11:41:42,877 | INFO | l Console Thread | DefaultShutdownStrategy | 100 - org.apache.camel.camel-cor
e - 2.10.7 | Graceful shutdown of 1 routes completed in 0 seconds
2015-01-12 11:41:42,877 | INFO | l Console Thread | BlueprintCamelContext | 100 - org.apache.camel.camel-cor
e - 2.10.7 | Apache Camel 2.10.7 (CamelContext: 181-camel-3) is shutdown in 0.000 seconds. Uptime 19 minutes.
执行 osgi:start 181 启动路由:
2015-01-12 11:42:24,246 | INFO | rint Extender: 3 | Activator | 100 - org.apache.camel.camel-cor
e - 2.10.7 | Found 2 @Converter classes to load
2015-01-12 11:42:24,246 | INFO | rint Extender: 3 | Activator | 100 - org.apache.camel.camel-cor
e - 2.10.7 | Found 2 @Converter classes to load
2015-01-12 11:42:24,262 | INFO | rint Extender: 3 | ManagementStrategyFactory | 100 - org.apache.camel.camel-cor
e - 2.10.7 | JMX enabled.
2015-01-12 11:42:24,262 | INFO | rint Extender: 3 | BlueprintCamelContext | 100 - org.apache.camel.camel-cor
e - 2.10.7 | Apache Camel 2.10.7 (CamelContext: 181-camel-6) is starting
2015-01-12 11:42:24,340 | INFO | rint Extender: 3 | BlueprintCamelContext | 100 - org.apache.camel.camel-cor
e - 2.10.7 | Route: route2 started and consuming from: Endpoint[file://camel/input]
2015-01-12 11:42:24,340 | INFO | rint Extender: 3 | faultManagementLifecycleStrategy | 100 - org.apache.camel.camel-cor
e - 2.10.7 | StatisticsLevel at All so enabling load performance statistics
2015-01-12 11:42:24,356 | INFO | rint Extender: 3 | BlueprintCamelContext | 100 - org.apache.camel.camel-cor
e - 2.10.7 | Total 1 routes, of which 1 is started.
2015-01-12 11:42:24,356 | INFO | rint Extender: 3 | BlueprintCamelContext | 100 - org.apache.camel.camel-cor
e - 2.10.7 | Apache Camel 2.10.7 (CamelContext: 181-camel-6) started in 0.094 seconds
====================================================
不直接记录日志信息,而是路由日志信息到JMS队列
sample1.xml
<?xml version="1.0" encoding="UTF-8"?>
<blueprint
xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.osgi.org/xmlns/blueprint/v1.0.0
http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd"> <camelContext xmlns="http://camel.apache.org/schema/blueprint">
<route>
<from uri="file:camel/input"/>
<to uri="file:camel/output"/>
<setBody>
<simple>FileMovedEvent(file:${file:name}, timestamp:${date:now:hh:MM:ss.SSS})</simple>
</setBody>
<to uri="activemq://events" />
</route>
</camelContext>
</blueprint>
sample1.xml路由的启动信息:
2015-01-12 11:45:51,953 | INFO | mix-4.5.3/deploy | fileinstall | 7 - org.apache.felix.fileinstall - 3.2.4 | Updated D:\osesbinaction\esb\apache-servicemix-4.5.3\deploy\sample1.xml
2015-01-12 11:46:19,705 | INFO | mix-4.5.3/deploy | fileinstall | 7 - org.apache.felix.fileinstall - 3.2.4 | Updated D:\osesbinaction\esb\apache-servicemix-4.5.3\deploy\sample1.xml
2015-01-12 11:46:33,316 | INFO | rint Extender: 2 | Activator | 100 - org.apache.camel.camel-core - 2.10.7 | Found 2 @Converter classes to load
2015-01-12 11:46:33,316 | INFO | rint Extender: 2 | Activator | 100 - org.apache.camel.camel-core - 2.10.7 | Found 2 @Converter classes to load
2015-01-12 11:46:33,332 | INFO | rint Extender: 2 | ManagementStrategyFactory | 100 - org.apache.camel.camel-core - 2.10.7 | JMX enabled.
2015-01-12 11:46:33,332 | INFO | rint Extender: 2 | BlueprintCamelContext | 100 - org.apache.camel.camel-core - 2.10.7 | Apache Camel 2.10.7 (CamelContext: 181-camel-9) is starting
2015-01-12 11:46:33,441 | INFO | rint Extender: 2 | BlueprintCamelContext | 100 - org.apache.camel.camel-core - 2.10.7 | Route: route3 started and consuming from: Endpoint[file://camel/input]
2015-01-12 11:46:33,441 | INFO | rint Extender: 2 | faultManagementLifecycleStrategy | 100 - org.apache.camel.camel-core - 2.10.7 | StatisticsLevel at All so enabling load performance statistics
2015-01-12 11:46:33,441 | INFO | rint Extender: 2 | BlueprintCamelContext | 100 - org.apache.camel.camel-core - 2.10.7 | Total 1 routes, of which 1 is started.
2015-01-12 11:46:33,441 | INFO | rint Extender: 2 | BlueprintCamelContext | 100 - org.apache.camel.camel-core - 2.10.7 | Apache Camel 2.10.7 (CamelContext: 181-camel-9) started in 0.109 seconds
sample2.xml
<?xml version="1.0" encoding="UTF-8"?>
<blueprint
xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
<camelContext xmlns="http://camel.apache.org/schema/blueprint">
<route>
<from uri="activemq://events"/>
<to uri="log:events"/>
</route>
</camelContext>
</blueprint>
sample2.xml路由的启动信息:
2015-01-12 11:48:02,963 | INFO | mix-4.5.3/deploy | fileinstall | 7 - org.apache.felix.fileinstall - 3.2.4 | Installed D:\osesbinaction\esb\apache-servicemix-4.5.3\deploy\sample2.xml
2015-01-12 11:48:02,979 | INFO | mix-4.5.3/deploy | fileinstall | 7 - org.apache.felix.fileinstall - 3.2.4 | Started bundle: blueprint:file:/D:/osesbinaction/esb/apache-servicemix-4.5.3/deploy/sample2.xml
2015-01-12 11:48:03,010 | INFO | rint Extender: 2 | Activator | 100 - org.apache.camel.camel-core - 2.10.7 | Found 2 @Converter classes to load
2015-01-12 11:48:03,010 | INFO | rint Extender: 2 | Activator | 100 - org.apache.camel.camel-core - 2.10.7 | Found 2 @Converter classes to load
2015-01-12 11:48:03,010 | INFO | rint Extender: 2 | ManagementStrategyFactory | 100 - org.apache.camel.camel-core - 2.10.7 | JMX enabled.
2015-01-12 11:48:03,010 | INFO | rint Extender: 2 | BlueprintCamelContext | 100 - org.apache.camel.camel-core - 2.10.7 | Apache Camel 2.10.7 (CamelContext: 182-camel-12) is starting
2015-01-12 11:48:03,135 | INFO | ActiveMQ Task-1 | FailoverTransport | 64 - org.apache.activemq.activemq-core - 5.7.0 | Successfully connected to tcp://localhost:61616
2015-01-12 11:48:03,150 | INFO | rint Extender: 2 | BlueprintCamelContext | 100 - org.apache.camel.camel-core - 2.10.7 | Route: route4 started and consuming from: Endpoint[activemq://events]
2015-01-12 11:48:03,150 | INFO | rint Extender: 2 | faultManagementLifecycleStrategy | 100 - org.apache.camel.camel-core - 2.10.7 | StatisticsLevel at All so enabling load performance statistics
2015-01-12 11:48:03,166 | INFO | rint Extender: 2 | BlueprintCamelContext | 100 - org.apache.camel.camel-core - 2.10.7 | Total 1 routes, of which 1 is started.
2015-01-12 11:48:03,166 | INFO | rint Extender: 2 | BlueprintCamelContext | 100 - org.apache.camel.camel-core - 2.10.7 | Apache Camel 2.10.7 (CamelContext: 182-camel-12) started in 0.156 seconds
在servicemix-4.5.3/camel/input目录下,放入test.xml文件后,打印的日志信息:
2015-01-12 11:48:30,174 | INFO | ActiveMQ Task-1 | FailoverTransport | 64 - org.apache.activemq.activemq-core - 5.7.0 | Successfully connected to tcp://localhost:61616
2015-01-12 11:48:30,221 | INFO | Consumer[events] | events | 100 - org.apache.camel.camel-core - 2.10.7 | Exchange[ExchangePattern:InOnly, BodyType:String, Body:FileMovedEvent(file:test.xml, timestamp:11:01:30.
159)]
注: 本文实例参考了这篇博客 http://blog.csdn.net/neuandustbneo/article/details/7965910
servicemix-4.5.3 启动日志的更多相关文章
- 从启动日志看Spring IOC的初始化和Bean生命周期
一.Tomcat中启动IoC容器的日志 启动Tomcat等容器时,控制台每次都打印出一些日志. 最近刚好在研究Spring源码,所以换个角度,从启动日志来简单的看看Spring的初始化过程! 以下是T ...
- Android应用启动时间及启动日志获取方法
1. Android应用中,可以使用如下方式进行应用启动时间的查看 2. 启动日志获取方法:
- Spark小课堂Week6 启动日志详解
Spark小课堂Week6 启动日志详解 作为分布式系统,Spark程序是非常难以使用传统方法来进行调试的,所以我们主要的武器是日志,今天会对启动日志进行一下详解. 日志详解 今天主要遍历下Strea ...
- 23 创建ArcMap启动日志
在ArcMap的启动过程中,我们可以看到软件的界面上分别会显示[初始化许可……].[初始化应用……].[加载文档……]字样,当ArcMap打开出现问题时,我们可以根据以上文字来判断出现错误的情况,还有 ...
- Redis的Errorlog或者启动日志(错误日志)的配置
Errorlog或者是运行日志是任何一个软件的运行中异常诊断必看的文件之一,折腾Redis的过程中以为有默认的错误日志(或启动日志),不过一直没有发现类似的日志文件,在看了默认的配置文件之后,发现Re ...
- 【linux】linux重启tomcat + 实时查看tomcat启动日志
linux重启tomcat命令: http://www.cnblogs.com/plus301/p/6237468.html linux查看toncat实时的启动日志: https://www.cnb ...
- 启动日志中就出现[java:comp/env/spring.liveBeansView.mbeanDomain] not found这个日志
今天在做一个dubbo服务端的时候,启动成功,dubbo也注册成功,但是启动日志中就出现[java:comp/env/spring.liveBeansView.mbeanDomain] not fou ...
- 基于Saltstatck实现页面实时显示tomcat启动日志(17)
一.相关文件 master端: /srv/salt/tomcat/start.sls #tomcat启动服务state.sls,须要自己创建 /srv/salt/tomca ...
- linux tomcat 启动后控制台未显示启动日志
在linux 服务器启动的时候未出现启动日志,这个时候,如果执行startup.sh会出现控制台没有打印任何消息的问题 应该执行: ./catalina.sh run
- Linux下如何查看tomcat是否启动、查看tomcat启动日志
在Linux系统下,重启Tomcat使用命令的操作! 1.首先,进入Tomcat下的bin目录 cd /usr/local/tomcat/bin 使用Tomcat关闭命令 ./shutdown.sh ...
随机推荐
- SpingBoot myBatis neo4j整合项目案例
此项目为spring boot - myBatis - neo4j数据库整合项目. 有增删改查(节点关系).动态分页条件排序等一些示例. git下载地址:git clone https://githu ...
- sqlserver 一些基本的语法
1. STR()函数 这是将数字转换为字符串的快捷函数,这个函数有3个参数:数值,总长度,和小数位 如: select str(123.4,8,4) = 123.4000 如长度不够,则左 ...
- SQL优化系列(三)- 用最少的索引获得最大的性能提升
从全局出发优化索引 对于高负载的数据库,如何创建最少的索引,让数据库的整体性能提高呢?例如,对于100 条SQL语句,如何创建最佳的5条索引? SQL自动优化工具SQL Tuning Expert P ...
- 2018-5-22-SublimeText-粘贴图片保存到本地
title author date CreateTime categories SublimeText 粘贴图片保存到本地 lindexi 2018-05-22 15:15:26 +0800 2018 ...
- 基于docker的php调用基于docker的mysql数据库的方法
1:建立基于docker的mysql,参考 Mac上将brew安装的MySql改用Docker执行 2:建立基于docker�php image 在当前目录,建立Dockerfile,内容如下 FRO ...
- 数据ETL是指什么
ETL是数据抽取(Extract).清洗(Cleaning).转换(Transform).装载(Load)的过程.是构建数据仓库的重要一环,用户从数据源抽取出所需的数据,经过数据清洗,最终按照预先定义 ...
- Directx11教程(45) alpha blend(2)
原文:Directx11教程(45) alpha blend(2) 在myTutorialD3D11_40中,我们在场景中再添加一个box,并把box放在水里,实现半透明的效果.如下图所示: ...
- Introduction to 3D Game Programming with DirectX 12 学习笔记之 --- 第九章:贴图
原文:Introduction to 3D Game Programming with DirectX 12 学习笔记之 --- 第九章:贴图 代码工程地址: https://github.com/j ...
- KiCad 不可以画线宽小于 0.2mm 的走线?
KiCad 不可以画线宽小于 0.2mm 的走线? 有小伙伴在 QQ 群里反馈,KiCad 设置线宽规则时出现错误. 于是判断 KiCad 不可以画 BGA PCB,很显然我认为这是不可能的事情. 作 ...
- 从 FastAdmin 看国内开源现状
从 FastAdmin 看国内开源现状 在做 FastAdmin 之前看过太多的国内开源软件,很多没有建立起正反馈,最终而烂尾. 国内开源者有时候收到的是负反馈. 比如遇到问题埋怨开源作者,对开源作者 ...