hiya,
ok. here's quick info
that tutorial creates a service unit where you'll get a file:poller and a
file:sender . hte poller polls a directory looking for files, and when it
finds them it sends
it to the poller which writes them in another directory.
That by itself is a sample program,using components (file:poller and
file:sender) that servicemix provideso ut of the box
If you want to read a text file and reverse its content, this file
poller/sender is a good start (at least to understad what's going on,
having a service - poller - that sends a message
containing a file to another service - sender - , that's the basic idea)
it looks to me like you have to do a similar thing, but instead of sending
message to a file:sender you'll need to send it to your custom service
engine, which will receive a message (from poller)
containing the file.
now, i know this explanation is too short..... and if you have just
started (i mean, started few days ago... i m a starter too, i have spent
last 2 weeks trying to figure out how to combine file:poller
with my custom services) u might get confused.,,
my suggestion? try first every tutorial here
http://servicemix.apache.org/tutorials.html
have them working, and then add your custom functionality.
have a look at 2.Beginnerl the file poller/sender/. once u got it
working , replace sender with your own ServiceEngine
post here if you have troubles....
hth
marco
Internet
[EMAIL PROTECTED]
28/01/2008 12:52
Please respond to
[email protected]
To
users
cc
Subject
RE: File Component in ServiceMix
Hi Edell,
Thanks for the quick response !
I was referring to the below link:
http://servicemix.apache.org/servicemix-file.html
As I am new to ServiceMix, I am not able to find complete steps to write
a sample program.
Could you please provide me the complete steps to write a sample
program?
Actually, I need to read a text file and reverse its contents.
Thanking you,
Yogesh
-----Original Message-----
From: Nolan, Edell [mailto:[EMAIL PROTECTED]
Sent: Monday, January 28, 2008 6:14 PM
To: [email protected]
Subject: RE: File Component in ServiceMix
Hi,
This page describes the servicemix-quartz component
http://servicemix.apache.org/servicemix-quartz.html
and maybe look at the file poller component.
http://servicemix.apache.org/servicemix-file.html
Hope this helps,
Edell.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 28 January 2008 12:29
To: [email protected]
Subject: File Component in ServiceMix
Hello Friends,
I am new to ServiceMix. I need to create a servicemix file and quartz
scheduler component and running short of time.
Any help / pointers / links are very appreciated.
Thanks in advance.
Looking forward for help...
Thanks,
Yogesh
Please do not print this email unless it is absolutely necessary. Spread
environmental awareness.
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.
www.wipro.com
----------------------------
IONA Technologies PLC (registered in Ireland) Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4,
Ireland
Please do not print this email unless it is absolutely necessary. Spread
environmental awareness.
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you
are not the intended recipient, you should not disseminate, distribute or
copy this e-mail. Please notify the sender immediately and destroy all
copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.
www.wipro.com
This communication is confidential, may be privileged and is meant only for the
intended recipient. If you are
not the intended recipient, please notify the sender by reply and delete this
message from your system. Any
unauthorised dissemination, distribution or copying hereof is prohibited.
BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK Limited,
BNP Paribas UK Limited,
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are
authorised and regulated by
the Financial Services Authority.
BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank are
authorised by the CECEI
and AMF. BNP Paribas London Branch, BNP Paribas Securities Services London
Branch and BNP Paribas
Private Bank London Branch are regulated by the Financial Services Authority
for the conduct of their UK
business. BNP Paribas Securities Services London Branch is also a member of
the London Stock Exchange.