• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS for file transfer  RSS feed

 
Surangana Sarathchandra
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!