You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by nsaran5 <ns...@hotmail.com> on 2016/11/14 18:26:23 UTC

How to Print the response send from APNS

<camel:route id="apnsSendNotification">
			<camel:from uri="direct:ms_apnsSendNotification" />
			<camel:to uri="apns:notify" />
		</camel:route>



<route id="iOSPriceDrop">
	<to uri="direct:ms_apnsSendNotification" />



want to print the response getting from APNS but it is not displaying.
Anyone can help on this. Thanks!



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-Print-the-response-send-from-APNS-tp5790114.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to Print the response send from APNS

Posted by nsaran5 <ns...@hotmail.com>.
Tried this not working. DO you have any working example with response from
APNS logs Thanks!



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-Print-the-response-send-from-APNS-tp5790114p5790148.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to Print the response send from APNS

Posted by Tomohisa Igarashi <tm...@gmail.com>.
Hi,

You'd want to put log DSL right after "to apns:notify"
https://camel.apache.org/log.html

Thanks,
Tomo

On 11/15/2016 03:26 AM, nsaran5 wrote:
> <camel:route id="apnsSendNotification">
> 			<camel:from uri="direct:ms_apnsSendNotification" />
> 			<camel:to uri="apns:notify" />
> 		</camel:route>
>
>
>
> <route id="iOSPriceDrop">
> 	<to uri="direct:ms_apnsSendNotification" />
>
>
>
> want to print the response getting from APNS but it is not displaying.
> Anyone can help on this. Thanks!
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-to-Print-the-response-send-from-APNS-tp5790114.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>