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 ...
随机推荐
- Linux C/C++开发
首先就是要熟练在vim里面写代码,其实就是没有提示和自动补全了,这个问题并不大. 我服务器gcc版本是4.8.5,所以就按照这个来了 https://gcc.gnu.org/onlinedocs/gc ...
- POJ 2078
16ms 解法: #include <cstdio> //using namespace std; ][]; ][]; ]; ]; int n,min,max; void solve(in ...
- JS文字球状放大效果
在线演示 本地下载
- sql —— check
CHECK 约束用于限制列中的值的范围. 原表: 现在要对性别这一列进行约束,只准值为男或者女. 步骤: 1. 2. 3. 4. 5. ctrl + s 保存一下, 现在不可以随意的修改性别了. 完成 ...
- hdu3472 混合图判断欧拉通路
对于欧拉回路,先判断出度入度的差是否为偶数,然后最大流一次. 此题是判断有无欧拉通路,前提要判断图是否连通,然后欧拉通路的条件:要么出入度差没有奇数,或者只有2个点. 所以先统计差为奇数的个数,如果不 ...
- 如何手动解析CrashLog
http://www.cocoachina.com/ios/20150803/12806.html 解决崩溃问题是移动应用开发者最日常的工作之一.如果是开发过程中遇到的崩溃,可以根据重现步骤调试,但线 ...
- 开发者总结的WatchKit App提交技巧
苹果4月初宣布所有注册开发者已经可以向App Store提交基于WatchKit开发的Apple Watch app了,不过不少开发者遇到了模拟器中没有发现的问题.这篇文章主要收集了一些提交tips和 ...
- oracle RANK() dense_rank()
[语法]RANK ( ) OVER ( [query_partition_clause] order_by_clause ) dense_RANK ( ) OVER ( [query_partitio ...
- jQuery学习笔记之可见性过滤选择器
可见性过滤选择器是根据元素的可见和不可见状态来选择相应的元素. 显示隐藏的例子: <!DOCTYPE html> <html> <head> <script ...
- oracle函数 current_timestamp
[功能]:以timestamp with time zone数据类型返回当前会话时区中的当前日期 [参数]:没有参数,没有括号 [返回]:日期 [示例]select current_timestamp ...