camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdryst <cdr...@gmail.com>
Subject Re: Camel headers sent in mail body on Weblogic server
Date Wed, 21 May 2014 02:57:26 GMT
Sure:

<route id="envioDummy">
	<from uri="servlet:///pruebaMail" />
	<setHeader headerName="Subject">
		<constant>PRUEBA</constant>
	</setHeader>
	<setHeader headerName="From">
		<constant>ccarrillo@universales.com</constant>
	</setHeader>
	<setBody>
		<constant></constant>
	</setBody>			
	<to uri="smtp://correo.segurosuniversales.net?contentType=text/html" />
</route>

The only difference that I can note is that I added weblogic.xml file to
make weblogic recognize and start the application once it's deployed:

<?xml version="1.0" encoding="UTF-8"?>
<wls:weblogic-web-app 
	xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd
http://xmlns.oracle.com/weblogic/weblogic-web-app
http://xmlns.oracle.com/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
   <wls:weblogic-version>10.3.6.0</wls:weblogic-version>
   <wls:context-root>universales-fe</wls:context-root>
   <wls:container-descriptor>
      <wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes>
   </wls:container-descriptor>
   <wls:session-descriptor>
      <wls:cookie-name>WSC2SESSIONID</wls:cookie-name>
   </wls:session-descriptor>
</wls:weblogic-web-app>



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-headers-sent-in-mail-body-on-Weblogic-server-tp5751375p5751380.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message