Forums Register Login

JMS for file transfer

+Pie Number of slices to send: Send
Hi all,
I want to implement an asynchronous XML file transfer mechanism using Java. A message broker will be sending the files and our J2EE application has to process it and give acknoledgements asynchronously. Message broker can communicate using JMS and HTTP webservices.
I have thought about using JMS but the file sizes we are processing could go up to few MBs.
Can JMS be used for this task (Even the file sizes are large) and what problems will I face in doing so ?
Is there another way to do the file transfer asynchronously ?

Note: I have looked at possible technologies for use (E.g. WEBDAV, Java FTP etc) but all those are synchronous.


Thanks in advance.

Suranga
+Pie Number of slices to send: Send
 


Can JMS be used for this task (Even the file sizes are large) and what problems will I face in doing so ?


Probably. I have not come accross any limit anyway - though someone may correct me on that. You could just send things as a TextMessage. Though if you used a persistant queue for example you would effecively be writing your file to whatever persistant store you are using twice.
+Pie Number of slices to send: Send
Yes, my master! Here is the tiny ad you asked for:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2967 times.
Similar Threads
Can I use Message Broker across different Networks
JMS + .NET and Java
generate a text file in another server ??
integeration question
Publishing the message serially to the listener
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 23:17:16.