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.