You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by efender <er...@fender.net> on 2009/10/07 20:36:46 UTC
1.6 equivalent of interceptFrom/interceptSendToEndpoint
I think this would be the correct syntax to intercept all exchanges on
ContentManagerClearCacheTopic, converting beans to JSON on the way in, and
JSON back to beans on the way out.
<dataFormats>
<json id="json"/>
</dataFormats>
<interceptFrom uri="activeMq:topic:ContentManagerClearCacheTopic">
<unmarshal ref="json"/>
</interceptFrom>
<interceptSendToEndpoint uri="activeMq:topic:ContentManagerClearCacheTopic">
<marshal ref="json"/>
</interceptSendToEndpoint>
Can anyone convert that to 1.6 syntax for me or point me in the right
direction? The old docs seem to disappear when new versions are released.
I don't have the time to do a 2.0 upgrade right now.
Thanks.
--
View this message in context: http://www.nabble.com/1.6-equivalent-of-interceptFrom-interceptSendToEndpoint-tp25791665p25791665.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: 1.6 equivalent of interceptFrom/interceptSendToEndpoint
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
1.6 does not have these features.
On Wed, Oct 7, 2009 at 8:36 PM, efender <er...@fender.net> wrote:
>
> I think this would be the correct syntax to intercept all exchanges on
> ContentManagerClearCacheTopic, converting beans to JSON on the way in, and
> JSON back to beans on the way out.
>
> <dataFormats>
> <json id="json"/>
> </dataFormats>
>
> <interceptFrom uri="activeMq:topic:ContentManagerClearCacheTopic">
> <unmarshal ref="json"/>
> </interceptFrom>
>
> <interceptSendToEndpoint uri="activeMq:topic:ContentManagerClearCacheTopic">
> <marshal ref="json"/>
> </interceptSendToEndpoint>
>
> Can anyone convert that to 1.6 syntax for me or point me in the right
> direction? The old docs seem to disappear when new versions are released.
> I don't have the time to do a 2.0 upgrade right now.
>
> Thanks.
> --
> View this message in context: http://www.nabble.com/1.6-equivalent-of-interceptFrom-interceptSendToEndpoint-tp25791665p25791665.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
--
Claus Ibsen
Apache Camel Committer
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus