Hi,

I've defined a target that uses an http endpoint. When sending a request to
the proxy that uses this target, the request is forwarded successfully to
the http endpoint.

When replacing the http endpoint with a mailto endpoint, the request is -
according to the logs - forwarded to the mail endpoint. However, the mail
message is never received. 

I've configured the mailto transportSender to use the correct SMTP server
and I've activated tracing for javax.mail and org.apache.synapse.transport,
but I do not see an error in the log files. 

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 ?

Log with HTTP endpoint
2008-09-11 09:39:39,145 [-] [mailto-Worker-1] DEBUG MailTransportListener
Processing message as Content-Type : text/plain; charset=us-ascii
2008-09-11 09:39:39,177 [-] [mailto-Worker-1] DEBUG BaseUtils Non SOAP/XML
message received
2008-09-11 09:39:39,239 [-] [mailto-Worker-1] DEBUG
ProxyServiceMessageReceiver Proxy Service FSB-Proxy-Email received a new
message...
2008-09-11 09:39:39,239 [-] [mailto-Worker-1] DEBUG
ProxyServiceMessageReceiver Message To: null
2008-09-11 09:39:39,239 [-] [mailto-Worker-1] DEBUG
ProxyServiceMessageReceiver SOAPAction: urn:mediate
2008-09-11 09:39:39,239 [-] [mailto-Worker-1] DEBUG
ProxyServiceMessageReceiver WSA-Action: urn:mediate
2008-09-11 09:39:39,239 [-] [mailto-Worker-1] DEBUG
ProxyServiceMessageReceiver Using the anonymous in-sequence of the proxy
service for mediation
2008-09-11 09:39:39,239 [-] [mailto-Worker-1] DEBUG SequenceMediator Start :
Sequence <anonymous>
2008-09-11 09:39:39,239 [-] [mailto-Worker-1] DEBUG SequenceMediator
Sequence <SequenceMediator> :: mediate()
2008-09-11 09:39:39,239 [-] [mailto-Worker-1] DEBUG LogMediator Start : Log
mediator
2008-09-11 09:39:39,255 [-] [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&#xd;
&#xd;
</axis2ns1:text></soapenv:Body></soapenv:Envelope>
2008-09-11 09:39:39,255 [-] [mailto-Worker-1] DEBUG LogMediator End : Log
mediator
2008-09-11 09:39:39,255 [-] [mailto-Worker-1] DEBUG SequenceMediator End :
Sequence <anonymous>
2008-09-11 09:39:39,255 [-] [mailto-Worker-1] DEBUG
ProxyServiceMessageReceiver Forwarding message to the endpoint :
FSB-WSSecurity-Test
 
Log with MAILTO endpoint
2008-09-11 09:45:18,138 [-] [mailto-Worker-2] DEBUG MailTransportListener
Processing message as Content-Type : text/plain; charset=us-ascii
2008-09-11 09:45:18,185 [-] [mailto-Worker-2] DEBUG BaseUtils Non SOAP/XML
message received
2008-09-11 09:45:18,217 [-] [mailto-Worker-2] DEBUG
ProxyServiceMessageReceiver Proxy Service FSB-Proxy-Email received a new
message...
2008-09-11 09:45:18,217 [-] [mailto-Worker-2] DEBUG
ProxyServiceMessageReceiver Message To: null
2008-09-11 09:45:18,217 [-] [mailto-Worker-2] DEBUG
ProxyServiceMessageReceiver SOAPAction: urn:mediate
2008-09-11 09:45:18,217 [-] [mailto-Worker-2] DEBUG
ProxyServiceMessageReceiver WSA-Action: urn:mediate
2008-09-11 09:45:18,217 [-] [mailto-Worker-2] DEBUG
ProxyServiceMessageReceiver Using the anonymous in-sequence of the proxy
service for mediation
2008-09-11 09:45:18,217 [-] [mailto-Worker-2] DEBUG SequenceMediator Start :
Sequence <anonymous>
2008-09-11 09:45:18,217 [-] [mailto-Worker-2] DEBUG SequenceMediator
Sequence <SequenceMediator> :: mediate()
2008-09-11 09:45:18,217 [-] [mailto-Worker-2] DEBUG LogMediator Start : Log
mediator
2008-09-11 09:45:18,232 [-] [mailto-Worker-2]  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&#xd;
&#xd;
</axis2ns1:text></soapenv:Body></soapenv:Envelope>
2008-09-11 09:45:18,232 [-] [mailto-Worker-2] DEBUG LogMediator End : Log
mediator
2008-09-11 09:45:18,232 [-] [mailto-Worker-2] DEBUG SequenceMediator End :
Sequence <anonymous>
2008-09-11 09:45:18,232 [-] [mailto-Worker-2] DEBUG
ProxyServiceMessageReceiver Forwarding message to the endpoint :
MailTo-Endpoint
2008-09-11 09:45:18,232 [-] [mailto-Worker-2] DEBUG AddressEndpoint Start :
Address Endpoint
2008-09-11 09:45:18,248 [-] [mailto-Worker-2] DEBUG AddressEndpoint Sending
message to endpoint : MailTo-Endpoint resolves to address =
mailto:[EMAIL PROTECTED]
2008-09-11 09:45:18,248 [-] [mailto-Worker-2] DEBUG AddressEndpoint
SOAPAction: urn:mediate
2008-09-11 09:45:18,248 [-] [mailto-Worker-2] DEBUG AddressEndpoint
WSA-Action: urn:mediate
2008-09-11 09:45:18,248 [-] [mailto-Worker-2] 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 09:45:18,279 [-] [mailto-Worker-2]  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 09:45:18,295 [-] [mailto-Worker-2] DEBUG SynapseCallbackReceiver
Callback added. Total callbacks waiting for : 1
2008-09-11 09:45:18,295 [-] [mailto-Worker-2] DEBUG MailTransportListener
Processed message : 1 :: WSO2ESB - The subject of the mail - without an
attachment !
2008-09-11 09:45:18,295 [-] [mailto-Worker-2] DEBUG MailTransportListener
Deleting email :1

Regards, Stefan Lecho.
-- 
View this message in context: 
http://www.nabble.com/Problem-when-using-mailto-endpoint-tp19429955p19429955.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

Reply via email to