josete
josete

Reputation: 367

Spring Integration : jms to ftp

I'm brand new to Spring Integration, and while trying to discover all the functionality it provides, find myself a bit lost with some of its syntax.

Let me explain what do i need, and how do i think it's the way to implement it.

I have an external process that send messages to an ActiveMQ Queue ( standard jms ), and i do need a product that

So, i do believe that to accomplish this, i need :

  1. jms-inbound-channel
  2. Service aggregator ( i need to combine 100 messages into one )
  3. Ftp outboud channel

Am i missing something ?

Upvotes: 0

Views: 595

Answers (1)

Gary Russell
Gary Russell

Reputation: 174769

For #2 you can use a <file:outbound-channel-adapter/> to APPEND to the file and then use some other criteria to determine when to send that file to the <ftp:outbound-channel-adapter/>.

You also might find it better to use a <jms:message-driven-channel-adapter/> rather than polling the inbound adapter.

Upvotes: 1

Related Questions