Posted: Fri Aug 16, 2013 8:13 am Post subject: 2 instances of datapower accessing a single file twice
Voyager
Joined: 02 Oct 2009 Posts: 90 Location: Atlanta
Hi,
we have a issue here where we have 2 instances of datapower SFTP frontside handler polling to remote file system
occasionally say once in every 10 messages we see both the instances of SFTP frontside handlers are consumming the messages which resulting in duplication of message and hence the issue araises.
surprised how there is a file lock missing in the file polling configuration of datapower
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
What other software can you think of that has a locking feature for a polling read? None that I know of. WAS, WMB, POJO all do not lock the file system during a polling read. Your design needs to be revised.
Think about implementing a Web Service that reads the file with synchronization. Or, create a shared semaphore and ensure the semaphore is owned before the file system is polled. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum