Hello Stan! Thank you! You let a blind woman see...
Right now I'm reading the pdf Camel manual. I guess this is the best
starting point.
One thing I've seen frequently in the code (but I haven't found a
comprehensible explanation in the documentation), is the use of
"mock:something". For example:
<code>
from("direct:start")
.to("ibatis:selectAllAccounts?statementType=QueryForList")
.to("mock:result");
</code>
What is "mock:result"? Is that the List where the result is mapped? For
example, if I have a table named clients and a mapping bean named
ClientBean.java, should I create a new List<ClientBean> first?
Stan Lewis-3 wrote:
>
> Welcome!
>
> camel-ibatis might be a good place to start -
> http://camel.apache.org/ibatis.html
> There's even an example that uses a timer to poll from a database and send
> the result set to an activemq queue...
>
> Also, did you read the getting started guide -
> http://camel.apache.org/getting-started.html
>
> On Wed, Oct 14, 2009 at 9:09 AM, linuca <[email protected]> wrote:
>
>>
>> Hi Everybody!
>>
>> Evey 15 min, I need to copy all the the created records in a database
>> table,
>> send them through ActiveMQ to another system, and then insert them in
>> another database table. I asked in the ActiveMQ forum, and they suggested
>> I
>> used Camel to achieve this.
>>
>> I've read the documentation, and I still don't have a clue on how to do
>> this, I'm not even sure how to start :-(.
>>
>> Can anyone help me please?
>>
>> Thanks in advance.
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/copy-database-records-and-insert-them-in-another-database-tp25890733p25890733.html
>> Sent from the Camel - Users (activemq) mailing list archive at
>> Nabble.com.
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/copy-database-records-and-insert-them-in-another-database-tp25890733p25892765.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.