[Users] testing BC-Mail component with Static exposition

mcarrolle mathieu.carrolle at petalslink.com
Wed Mar 16 11:05:16 CET 2011


Le 10/11/2010 19:52, Youn a écrit : 
>  
> > Thanks for your replay
> > 
> > I made a test with this configuration in the jbi.xml of my SU Mail component 
> > 
> > 
> > Code:
> > <jbi:provides 		
> > 			interface-name="generatedNs:Mail"
> > 			service-name="generatedNs:SenMail"
> > 			endpoint-name="SenMailEndpoint">
> > 	
> > 			<!-- CDK specific elements -->
> > 			<petalsCDK:timeout>30000</petalsCDK:timeout>
> > 			<petalsCDK:validate-wsdl>true</petalsCDK:validate-wsdl>
> > 			<petalsCDK:forward-security-subject>false</petalsCDK:forward-security-subject>
> > 			<petalsCDK:forward-message-properties>false</petalsCDK:forward-message-properties>
> > 			<petalsCDK:forward-attachments>false</petalsCDK:forward-attachments>
> > 			<petalsCDK:wsdl>MailService.wsdl</petalsCDK:wsdl>
> > 		
> > 			<!-- Component specific elements -->	
> > 			<mail:scheme>smtp</mail:scheme>
> > 			<mail:host>smtp.gmail.com</mail:host>
> > 			<mail:port>587</mail:port>
> > 			<mail:user>	</mail:user>
> > 			<mail:password>xx</mail:password>
> > 			<mail:from>xx at gmail.com (xx at gmail.com)</mail:from>
> > 			<mail:reply>xxt at gmail.com (xxt at gmail.com)</mail:reply>
> > 			<mail:to>xx at gmail.com (xx at gmail.com)</mail:to>
> > 			<mail:subject>test</mail:subject>
> > 			<mail:send-mode>content-only</mail:send-mode>			
> > 		</jbi:provides>  
> > 
> > 
> > 
> > 
> > And I had the error below. 
> > 
> > Did the Petals Mail component support the TLS/STARTTLS and  SSL protocols ?
> > 
> > 
> > Code:
> > petals at localhost:/> [Petals.Container.Components.petals-bc-mail]-INFO 2010-11-10 19:43:28,460 J
> > BI Exchange received - send it as a mail
> > [Petals.Container.Components.petals-bc-mail]-WARNING 2010-11-10 19:43:28,773 sendMail can not s
> > end the mail
> > com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. 7sm66
> > 2659wet.24
> > 
> > at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
> > at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
> > at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
> > at org.ow2.petals.bc.mail.listeners.MailSessionManager.sendMail(MailSessionManager.java
> > :237)
> > at org.ow2.petals.bc.mail.listeners.MailBCJBIListener.standardSendService(MailBCJBIList
> > ener.java:155)
> > at org.ow2.petals.bc.mail.listeners.MailBCJBIListener.onJBIMessage(MailBCJBIListener.ja
> > va:115)
> > at org.ow2.petals.component.framework.process.MessageExchangeProcessor.processInOnlyAsP
> > rovider(MessageExchangeProcessor.java:427)
> > at org.ow2.petals.component.framework.process.MessageExchangeProcessor.processAsProvide
> > r(MessageExchangeProcessor.java:368)
> > at org.ow2.petals.component.framework.process.MessageExchangeProcessor.process(MessageE
> > xchangeProcessor.java:234)
> > at org.ow2.petals.component.framework.process.MessageExchangeProcessor.run(MessageExcha
> > ngeProcessor.java:177)
> > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > at java.lang.Thread.run(Thread.java:662)
> > 
> > 
> > 
> > 
> > 
> > Thanks
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
>  
 Hello,

TLS/STARTTLS and SSL are not yet supported by the component petals-bc-mail.

-- 
Signature     Mathieu CARROLLE
Office : +33 (0)5 62 73 43 85

Petals Link – www.petalslink.com (http://www.petalslink.com)
4, Rue Amélie - 31000 Toulouse – France
petals.ow2.org (http://petals.ow2.org/) - Open source SOA experience

 --Posted via petals mailing-list (http://forum.petalslink.com/m2f_usercp.php)--




-------------------- m2f --------------------

Subscribe/Unsubscribe emails notifications :
http://forum.petalslink.com/m2f_usercp.php

Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)

Read the topic online:
http://forum.petalslink.com/viewtopic.php?p=31622#31622

-------------------- m2f --------------------






More information about the Users mailing list