Hi, Thanks for your reply.  I have given a summary of my component.

>From the outside, the BlobSender component works very similar to the
servicemix jms:provider component except that it sends ActiveMQ BlobMessages
because I have very large files.  See
http://activemq.apache.org/blob-messages.html

For this component I configure the connectionFactory and destination queue
as properties of the bean in xbean.xml.

A message comes from the FTP Poller to my BlobSender component.
The bean implements the MessageExchangeListener interface.  In the
onMessageExchange method I read the filepath and ftpserver from the message
properties.  I am using a custom file marshaler of the FTP poller so I do
not attach the actual file.

With the configured bean properties and message properties I create an
ActiveMQ BlobMessage and send it.  After this I set the exchange status as
done.

On the receiving side I just use the standard jms:consumer with a custom
JmsConsumerMarshaler.


Jean-Baptiste Onofré wrote:
> 
> 
> Could we have some example of your binding component ?
> 
> 

-- 
View this message in context: 
http://www.nabble.com/New-User-Design-Question-tp23279581p23287444.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to