Can you share the configuration of the dlqErrorHandler, as well as a little 
more of the log - I’d like to see the exchange history.

Quinn Stevenson



> On Jan 28, 2016, at 4:28 AM, Michele <michele.mazzi...@finconsgroup.com> 
> wrote:
> 
> <route id="CRM_LoginRoute" errorHandlerRef="NoErrorHandler" >
>                       <from uri="direct:crm-login" />
>                               
>                               <process ref="CRMLoginProcessor" />
>                               <marshal ref="Gson" />
>                               <log message="Sent Request login to CRM: 
> ${body}" loggingLevel="INFO"/>
>                               <inOut
> uri="jetty:{{crm.rs.host.name}}:{{crm.rs.port}}{{crm.rs.context.path}}/oauth2/token?throwExceptionOnFailure=true"
> />
>                               <log message="Received Response login from CRM: 
> ${body}"
> loggingLevel="DEBUG"/>
>                               <unmarshal ref="Gson" />
>                               <log message="Authentication successful on 
> CRM!" />
>               </route>
> 
>               
>               <route id="ProcessingMessageData_Route" 
> errorHandlerRef="dlqErrorHandler"
>> 
>                       <from 
> uri="activemq:queue:IF_CUSTOMER_Inbound-NormalizedTickets" />
>                                       
>                                       <enrich uri="direct:crm-login" 
> strategyRef="OAuthStrategy"
> aggregateOnException="false" />
> 
>                               
>                               <log message="Token ${in.header.OAuth-Token}" 
> loggingLevel="DEBUG"/>
>                               <marshal ref="Gson" />
>                               <setHeader headerName="Content-Type">
>                                       <constant>application/json</constant>
>                               </setHeader>
>                               <setHeader headerName="CamelHttpMethod">
>                                       <constant>POST</constant>
>                               </setHeader>
>                               <log message="Request sent to CRM: ${body}" 
> loggingLevel="INFO" />
>                               
>                               
>                               <setHeader headerName="CRMInsertTicketPath">
>                                       <simple>
>                               
> jetty:{{crm.rs.host.name}}:{{crm.rs.port}}{{crm.rs.context.path}}/tk_rt_ticket/${in.header.customer-code}/insert?httpClient.idleTimeout=30000
>                                       </simple>
>                               </setHeader>
>                               <log message="CRMInsertTicketPath:
> $simple{in.header.CRMInsertTicketPath}" />
>                               <recipientList stopOnException="true" 
> parallelProcessing="false"
> streaming="false">
>                                       <header>CRMInsertTicketPath</header>
>                                       <to 
> uri="activemq:queue:IF_CUSTOMER_Inbound-ProcessedTickets" />
>                               </recipientList>
>               </route>

Reply via email to