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 ...
随机推荐
- 第二周<导学/分类>
分类学习 分类算法各有不同 knn naivebyes regression dnn sklearn.linear_modlel 线性函数 sklearn.preprocessing 非线性函数 分类 ...
- R语言与显著性检验学习笔记
R语言与显著性检验学习笔记 一.何为显著性检验 显著性检验的思想十分的简单,就是认为小概率事件不可能发生.虽然概率论中我们一直强调小概率事件必然发生,但显著性检验还是相信了小概率事件在我做的这一次检验 ...
- idea 项目热部署设置
1.引入pom.xml() <!-- 热部署(必须) --> <dependency> <groupId>org.springframework.boot</ ...
- Directx11教程41 纹理映射(11)
原文:Directx11教程41 纹理映射(11) 1.第一副图我们采用各性异性的滤波方式,并设置最大各性异性值为8. samplerDesc.Filter = D3D11_FILT ...
- JavaScript--关于变量提升思考
下面例子仅仅是思考变量提升使用: 在实际开发中并不推荐使用相同名字的变量和函数! // 如果变量和函数同名的话,函数优先提升 console.log(a); function a() { consol ...
- PHP实现redis限制单ip、单用户的访问次数功能
本文实例讲述了PHP实现redis限制单ip.单用户的访问次数功能.分享给大家供大家参考,具体如下: 有时候我们需要限制一个api或页面访问的频率,例如单ip或单用户一分钟之内只能访问多少次 类似于这 ...
- 未能加载文件或程序集 XXX 或它的一个依赖项。参数错误
引发原因 :电脑突然蓝屏重启 解决方法:删除 C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files 下的所有文件 ...
- Chef 安装
http://www.tuicool.com/articles/RnAVn2 三个角色: chef server, chef workstation, chef nodes(chef clients) ...
- jQuery,javascript获得网页的高度和宽度$(document).height / $(window).height
一.javascript 网页可见区域宽: document.body.clientWidth 网页可见区域高: document.body.clientHeight 网页可见区域宽: documen ...
- Mysql----linux下安装和使用
一.安装 安装环境centOS,MySQL 使用yum安装mysql 1. 下载rpm [root@CoderMrD admin]# wget -i -c http://dev.mysql.com/g ...