Gert, I have set the log level to debug for root (following these instructions http://servicemix.apache.org/how-do-i-change-the-logging.html). I have attached the http://www.nabble.com/file/p25795442/servicemix.log servicemix.log file. In the test case I sent a single sm_delevier request from the smsc simulator to the smpp-servicemix module. I included earlier parts of the log file in case they were useful.
My configuration for smpp (xbean.xml) is as follows <?xml version="1.0"?> <beans xmlns:smpp="http://servicemix.apache.org/smpp/1.0" xmlns:tut="urn:org:apache:servicemix:tutorial:testsmpp"> <smpp:consumer service="tut:smpp_service" endpoint="endpoint" host="agsbd02" port="2775" systemId="test" password="test" targetService="tut:smpp_service"/> </beans> I added a targetService since it complained otherwise if I didn't. the MyRouteBuilder.java has the change you suggested. package org.apache.servicemix.aegis.smpp; import javax.xml.transform.dom.DOMSource; import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.apache.camel.builder.RouteBuilder; /** * A Camel Router * * @version $Revision: 1.1 $ */ public class MyRouteBuilder extends RouteBuilder { public void configure() { from("jbi:endpoint:urn:org:apache:servicemix:tutorial:testsmpp:smpp_service:endpoint") // 1 .to("log:tutorial-jbi") // 2 .convertBodyTo(DOMSource.class) // 3 .to("log:tutorial-domsource") // 2 .convertBodyTo(String.class) // 3 .to("log:tutorial-string"); /* from("timer://tutorial?fixedRate=true&delay=3000&period=10000") // 1 .setBody(constant("Hello world!")) // 2 .to("log:tutorial"); */ } } ... INFO - AutoDeploymentService - Directory: hotdeploy: Archive changed: processing smpp-sa-1.0-SNAPSHOT.jar ... DEBUG - AutoDeploymentService - Unpacked archive C:\service_mix\apache- servicemix-3.3.1\hotdeploy\smpp-sa-1.0-SNAPSHOT.jar to C:\service_mix\apache-ser vicemix-3.3.1\data\smx\tmp\smpp-sa-1.0-SNAPSHOT.0.tmp DEBUG - AutoDeploymentService - SA dependencies: [servicemix-camel, ser vicemix-smpp] DEBUG - DeploymentService - Moving C:\service_mix\apache-servicemix -3.3.1\data\smx\tmp\smpp-sa-1.0-SNAPSHOT.0.tmp to C:\service_mix\apache-servicem ix-3.3.1\data\smx\service-assemblies\smpp-sa\version_11\install DEBUG - DeploymentService - Unpack service unit archive C:\service_ mix\apache-servicemix-3.3.1\data\smx\service-assemblies\smpp-sa\version_11\insta ll\test-smpp-producer-su-1.0-SNAPSHOT.zip to C:\service_mix\apache-servicemix-3. 3.1\data\smx\service-assemblies\smpp-sa\version_11\sus\servicemix-smpp\test-smpp -producer-su DEBUG - SmppComponent - Deploying service unit DEBUG - SmppComponent - Looking for C:\service_mix\apache-servi cemix-3.3.1\data\smx\service-assemblies\smpp-sa\version_11\sus\servicemix-smpp\t est-smpp-producer-su\xbean.xml: true DEBUG - SmppComponent - Service unit deployed DEBUG - DeploymentService - Unpack service unit archive C:\service_ mix\apache-servicemix-3.3.1\data\smx\service-assemblies\smpp-sa\version_11\insta ll\test-smpp-camel-su-1.0-SNAPSHOT.zip to C:\service_mix\apache-servicemix-3.3.1 \data\smx\service-assemblies\smpp-sa\version_11\sus\servicemix-camel\test-smpp-c amel-su DEBUG - CamelJbiComponent - Deploying service unit DEBUG - CamelJbiComponent - Looking for C:\service_mix\apache-servi cemix-3.3.1\data\smx\service-assemblies\smpp-sa\version_11\sus\servicemix-camel\ test-smpp-camel-su\camel-context.xml: true DEBUG - CamelJbiComponent - Service unit deployed INFO - ServiceAssemblyLifeCycle - Starting service assembly: smpp-sa INFO - ServiceUnitLifeCycle - Initializing service unit: test-smpp-pr oducer-su DEBUG - SmppComponent - Initializing service unit DEBUG - SmppComponent - Service unit initialized INFO - ServiceUnitLifeCycle - Initializing service unit: test-smpp-ca mel-su DEBUG - CamelJbiComponent - Initializing service unit DEBUG - ComponentContextImpl - Component: servicemix-camel activated e ndpoint: {urn:org:apache:servicemix:tutorial:testsmpp}smpp_service : endpoint DEBUG - CamelJbiComponent - Querying service description for Servic eEndpoint[service={urn:org:apache:servicemix:tutorial:testsmpp}smpp_service,endp oint=endpoint] DEBUG - CamelJbiComponent - No description found for {urn:org:apach e:servicemix:tutorial:testsmpp}smpp_service:endpoint DEBUG - WSDL1Processor - Endpoint ServiceEndpoint[service={urn:o rg:apache:servicemix:tutorial:testsmpp}smpp_service,endpoint=endpoint] has no se rvice description DEBUG - CamelJbiComponent - Querying service description for Servic eEndpoint[service={urn:org:apache:servicemix:tutorial:testsmpp}smpp_service,endp oint=endpoint] DEBUG - CamelJbiComponent - No description found for {urn:org:apach e:servicemix:tutorial:testsmpp}smpp_service:endpoint DEBUG - WSDL2Processor - Endpoint ServiceEndpoint[service={urn:o rg:apache:servicemix:tutorial:testsmpp}smpp_service,endpoint=endpoint] has no se rvice description DEBUG - ComponentContextImpl - Component: servicemix-camel activated e ndpoint: {http://activemq.apache.org/camel/schema/jbi}provider : camel:test-smpp -camel-su-controlBus DEBUG - JCAFlow - ServiceMix: broadcasting info for org.a pache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={urn:org :apache:servicemix:tutorial:testsmpp}smpp_service,endpoint=endpoint]] DEBUG - CamelJbiComponent - Querying service description for Servic eEndpoint[service={http://activemq.apache.org/camel/schema/jbi}provider,endpoint =camel:test-smpp-camel-su-controlBus] DEBUG - CamelJbiComponent - No description found for {http://active mq.apache.org/camel/schema/jbi}provider:camel:test-smpp-camel-su-controlBus DEBUG - WSDL1Processor - Endpoint ServiceEndpoint[service={http: //activemq.apache.org/camel/schema/jbi}provider,endpoint=camel:test-smpp-camel-s u-controlBus] has no service description DEBUG - CamelJbiComponent - Querying service description for Servic eEndpoint[service={http://activemq.apache.org/camel/schema/jbi}provider,endpoint =camel:test-smpp-camel-su-controlBus] DEBUG - CamelJbiComponent - No description found for {http://active mq.apache.org/camel/schema/jbi}provider:camel:test-smpp-camel-su-controlBus DEBUG - WSDL2Processor - Endpoint ServiceEndpoint[service={http: //activemq.apache.org/camel/schema/jbi}provider,endpoint=camel:test-smpp-camel-s u-controlBus] has no service description DEBUG - CamelJbiComponent - Service unit initialized INFO - ServiceUnitLifeCycle - Starting service unit: test-smpp-produc er-su DEBUG - SmppComponent - Starting service unit DEBUG - JMSFlow - ServiceMix: broadcasting info for org.a pache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={urn:org :apache:servicemix:tutorial:testsmpp}smpp_service,endpoint=endpoint]] DEBUG - JCAFlow - ServiceMix: broadcasting info for org.a pache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={http:// activemq.apache.org/camel/schema/jbi}provider,endpoint=camel:test-smpp-camel-su- controlBus]] DEBUG - JMSFlow - ServiceMix: broadcasting info for org.a pache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={http:// activemq.apache.org/camel/schema/jbi}provider,endpoint=camel:test-smpp-camel-su- controlBus]] DEBUG - SMPPSession - Connect and bind to agsbd02 port 2775 INFO - SMPPSession - Connected INFO - SMPPSession - Starting PDUReaderWorker with processor degree:3 ... DEBUG - AbstractSessionContext - Activity notified DEBUG - SMPPSessionOpen - Bind Response header (29, 80000001, 000 00000, 1) DEBUG - AbstractSession - bind response received DEBUG - SmppComponent - Service unit started INFO - SMPPSession - Starting EnquireLinkSender INFO - ServiceUnitLifeCycle - Starting service unit: test-smpp-camel- su DEBUG - CamelJbiComponent - Starting service unit DEBUG - CamelJbiComponent - Service unit started INFO - AutoDeploymentService - Directory: hotdeploy: Finished installa tion of archive: smpp-sa-1.0-SNAPSHOT.jar DEBUG - AbstractSessionContext - Activity notified DEBUG - SMPPSession - Sending enquire_link_resp DEBUG - AbstractSessionContext - Activity notified DEBUG - SMPPSession - deliver_sm_resp with seq_number 4 has b een sent DEBUG - AbstractSessionContext - Activity notified INFO - AbstractGenericSMPPSessionBound - Receving unbind request INFO - SMPPSession - EnquireLinkSender stop DEBUG - SMPPSession - No activity notified DEBUG - SMPPSession - Sending enquire link notify INFO - SMPPSession - PDUReaderWorker stop Gert Vanthienen wrote: > > Joel, > > Do you get any additional warnings/error in the log file? If there's > a routing problem, the log should at least indicate that the endpoint > could not be found. Could you try raising the log level to DEBUG and > posting us the log for a single message flow, so we can take a look at > that to help you figure out what's wrong? > > Regards, > > Gert Vanthienen > ------------------------ > Open Source SOA: http://fusesource.com > Blog: http://gertvanthienen.blogspot.com > > -- View this message in context: http://www.nabble.com/using-smpp-to-output-to-the-screen-tp25758143p25795442.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
