On 8/29/07, Gordon Dickens <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a FilePoller service unit that sends a message (via the NMR -
> targetServiceName) to a custom service unit. The basic idea is to notify
> a service that a file has arrived. The FilePoller using the
> BinaryFileMarshaler because the file could be any type. However, all I
> want to do is send the name and location of the file.
>
> How can I use the FilePoller to send the message without attaching the file?
If this were my problem, I'd just copy the BinaryFileMarshaler, give
it a new name and modify the readMessage() and writeMessage() methods
to do what I wanted. Then you just need to use Spring configuration to
plug it in where you need it.
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/