Related issue: https://issues.apache.org/jira/browse/SYNAPSE-447
stlecho wrote: > > As requested by Asankha, I've created a Jira issue: > https://wso2.org/jira/browse/ESBJAVA-566 > > stlecho wrote: >> >> Asankha, >> >> "log4j.category.org.apache.synapse.transport=TRACE" was already defined, >> so I suppose that >> "log4j.category.org.apache.synapse.transport.mail=TRACE" was already >> activated. >> >> Anyway, I've added transport.mail and the log extract: >> >> 2008-09-11 10:45:36,771 [-] [mailto-Worker-1] DEBUG MailTransportListener >> Processing message as Content-Type : text/plain; charset=us-ascii >> 2008-09-11 10:45:36,818 [-] [mailto-Worker-1] DEBUG BaseUtils Non >> SOAP/XML message received >> 2008-09-11 10:45:36,849 [-] [mailto-Worker-1] DEBUG >> ProxyServiceMessageReceiver Proxy Service FSB-Proxy-Email received a new >> message... >> 2008-09-11 10:45:36,849 [-] [mailto-Worker-1] DEBUG >> ProxyServiceMessageReceiver Message To: null >> 2008-09-11 10:45:36,865 [-] [mailto-Worker-1] DEBUG >> ProxyServiceMessageReceiver SOAPAction: urn:mediate >> 2008-09-11 10:45:36,865 [-] [mailto-Worker-1] DEBUG >> ProxyServiceMessageReceiver WSA-Action: urn:mediate >> 2008-09-11 10:45:36,865 [-] [mailto-Worker-1] DEBUG >> ProxyServiceMessageReceiver Using the anonymous in-sequence of the proxy >> service for mediation >> 2008-09-11 10:45:36,865 [-] [mailto-Worker-1] DEBUG SequenceMediator >> Start : Sequence <anonymous> >> 2008-09-11 10:45:36,865 [-] [mailto-Worker-1] DEBUG SequenceMediator >> Sequence <SequenceMediator> :: mediate() >> 2008-09-11 10:45:36,865 [-] [mailto-Worker-1] DEBUG LogMediator Start : >> Log mediator >> 2008-09-11 10:45:36,865 [-] [mailto-Worker-1] INFO LogMediator To: >> ,From: mailto:[EMAIL PROTECTED],WSAction: urn:mediate,SOAPAction: >> urn:mediate,MessageID: >> <[EMAIL PROTECTED]>,Direction: >> request,Envelope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope >> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><axis2ns1:text >> xmlns:axis2ns1="http://ws.apache.org/commons/ns/payload">A text message >> for WSO2
 >> >> 
 >> </axis2ns1:text></soapenv:Body></soapenv:Envelope> >> 2008-09-11 10:45:36,865 [-] [mailto-Worker-1] DEBUG LogMediator End : Log >> mediator >> 2008-09-11 10:45:36,865 [-] [mailto-Worker-1] DEBUG SequenceMediator End >> : Sequence <anonymous> >> 2008-09-11 10:45:36,865 [-] [mailto-Worker-1] DEBUG >> ProxyServiceMessageReceiver Forwarding message to the endpoint : >> MailTo-Endpoint >> 2008-09-11 10:45:36,865 [-] [mailto-Worker-1] DEBUG AddressEndpoint Start >> : Address Endpoint >> 2008-09-11 10:45:36,880 [-] [mailto-Worker-1] DEBUG AddressEndpoint >> Sending message to endpoint : MailTo-Endpoint resolves to address = >> mailto:[EMAIL PROTECTED] >> 2008-09-11 10:45:36,880 [-] [mailto-Worker-1] DEBUG AddressEndpoint >> SOAPAction: urn:mediate >> 2008-09-11 10:45:36,880 [-] [mailto-Worker-1] DEBUG AddressEndpoint >> WSA-Action: urn:mediate >> 2008-09-11 10:45:36,880 [-] [mailto-Worker-1] DEBUG >> Axis2FlexibleMEPClient Sending [add = false] [sec = false] [rm = false] >> [mtom = false] [swa = false] [format = null] [force soap11=false] [force >> soap12=false] [pox=false] [get=false] [encoding=null] [to null] >> 2008-09-11 10:45:36,912 [-] [mailto-Worker-1] INFO TimeoutHandler This >> engine will expire all callbacks after : 86400 seconds, irrespective of >> the timeout action, after the specified or optional timeout >> 2008-09-11 10:45:36,927 [-] [mailto-Worker-1] DEBUG >> SynapseCallbackReceiver Callback added. Total callbacks waiting for : 1 >> 2008-09-11 10:45:36,927 [-] [mailto-Worker-1] DEBUG MailTransportListener >> Processed message : 1 :: WSO2ESB - The subject of the mail - without an >> attachment ! >> 2008-09-11 10:45:36,927 [-] [mailto-Worker-1] DEBUG MailTransportListener >> Deleting email :1 >> >> Regards, Stefan Lecho. >> >> >> asankha wrote: >>> >>> Stefan >>>> I guess their is a problem when WSO2ESB tries to send the message to >>>> the >>>> mailto endpoint. Is there a way to get more debugging information for >>>> the >>>> mailto transportSender ? >>>> >>> Set "log4j.category.org.apache.synapse.transport.mail=TRACE" on your >>> log4j.properties >>> >>> asankha >>> >>> -- >>> Asankha C. Perera >>> >>> WSO2 - http://wso2.org >>> http://esbmagic.blogspot.com >>> >>> >>> _______________________________________________ >>> Esb-java-user mailing list >>> [email protected] >>> http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/Problem-when-using-mailto-endpoint-tp19429955p19454242.html Sent from the WSO2 ESB Users mailing list archive at Nabble.com. _______________________________________________ Esb-java-user mailing list [email protected] http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
