Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <flow name="ProcesarBeca">
- <vm:inbound-endpoint path="ProcesarBeca"/>
- <component class="com.miw.component.ProcesoBeca"/>
- <choice>
- <when expression="payload.BecaConcedida=='Si'" evaluator="groovy">
- <!-- <component class="com.miw.component.Respondedor"/> -->
- <message-properties-transformer scope="session">
- <add-message-property key="elEmail" value="#[groovy:payload.email]"/>
- </message-properties-transformer>
- <component class="com.miw.component.Respondedor" />
- <smtp:outbound-endpoint connector-ref="smtpGmailConnector"
- host="smtp.gmail.com"
- to="#[header:session:elEmail]" port="587"
- user="diaimiw%40gmail.com" password="mastermiw2011"
- from="diaimiw@gmail.com"
- subject="[Info] Notificación Beca Aceptada" />
- <file:outbound-endpoint path="/tmp/beca"
- connector-ref="outputBeca" />
- </when>
- <otherwise>
- <vm:outbound-endpoint path="CartaPago" />
- </otherwise>
- </choice>
- </flow>
Add Comment
Please, Sign In to add comment