camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gershaw, Geoffrey" <geoffrey.gers...@credit-suisse.com>
Subject Splitter Spring Config
Date Thu, 19 Apr 2012 21:45:12 GMT
Hello All,

 

I am trying to use my pojo to do the splitting as mentioned
http://camel.apache.org/splitter.html
<http://camel.apache.org/splitter.html>  under "Using a Pojo to do the
splitting". There is no example of  how to wire in my pojo using Spring
config. I only see the java DSL. Has anyone done this?

Secondly, I want to call a bean (GenericCamelPublisher ) for every
iteration of the split. I thought this would work, but it complains. Any
ideas?

 

<split> 

<bean ref="GenericCamelPublisher"/>

      <to uri="jmsUS:topic:dummy"/>

</split>

Thanks

 

Geoffrey A. Gershaw

CREDIT SUISSE

Information Technology | Credit eTrading Dev - NY, KVBM 341

One Madison Avenue | 10010 New York | United States

Phone +1 212 538 6727

geoffrey.gershaw@credit-suisse.com | www.credit-suisse.com

 


=============================================================================== 
Please access the attached hyperlink for an important electronic communications disclaimer:

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html 
=============================================================================== 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message