Hello Claus, Thanks for the input and I will do some proof of concept and see how far I can get before putting additional questions.
We have a DB2 database on mainframe that are used for value translation (cross-reference) and configuration storage. That will be used and from WMB and an API (with a cache) that uses ODBC to connect to DB. Actually I read your blog yesterday since I got some google-hits and saw that you are not so pro-websphere ;) Since I am sitting in a large enterprise, we have appointed products and many from IBM in the integration area. However, we are heavily working with EIP in our governance process so Camel fits quite well. I will try to get the "Camel feel" to be able to put the detailed questions. Thanks so far! Best regards Joacim Claus Ibsen wrote: > > Hi > > Disclaimer: > =========== > In my experience you should assume until proven otherwise that anything > does not work out of the box with any IBM WebSphere XXX product. So I will > create some small "hello world" project at first to make sure WebSphere > can run the stuff without barfing. > > However Camel 1.4+ does run on WebSphere AS (plain serer) 6.1 (at least on > the ones I have tested with). But you must try it for yourself. > > For general documentation > ========================= > All the wiki documentation is good places to peek: > http://activemq.apache.org/camel/enterprise-integration-patterns.html > > And this one later: > http://activemq.apache.org/camel/architecture.html > > And maybe an example or a longer tutorial: > http://activemq.apache.org/camel/architecture.html > > > About your use-case > =================== > How do you get the rules from the DB? > > Since you already have the message then you can send it to the "from" > using the ProducerTemplate. > http://activemq.apache.org/camel/walk-through-an-example.html > > Using Java DSL gives you the full power of Java where you can use plain > java for AND, OR and BETWEEN > > However Camel does have DSL for: choice and filter that can be used. > You can use a Java BEAN for the predicate (compute true|false) and thus > you can create this logic in beans that can be hooked into the DSL. But > you are looking for the message router EIP pattern: > http://activemq.apache.org/camel/message-router.html > > choice > .when().bean("MyBetweenBean") > > > About processor: You can use plain POJO in Camel, no need to implement any > Camel interfaces. But we also have a org.apache.camel.Processor interface > you can use and it has a process DSL as well. > > But please try cranking some code together then you get the 'feel for it' > and then you can ask again. > > > Med venlig hilsen > > Claus Ibsen > ...................................... > Silverbullet > Skovsgårdsvænget 21 > 8362 Hørning > Tlf. +45 2962 7576 > Web: www.silverbullet.dk > -- View this message in context: http://www.nabble.com/Using-Camel-in-IBM-WebSphere-Message-Broker-tp20091539s22882p20104392.html Sent from the Camel - Users mailing list archive at Nabble.com.
