amigo amigo [
http://community.jboss.org/people/amigo111] created the discussion
"Re: Problem with adding post-suffix to file after coping"
To view the discussion, visit:
http://community.jboss.org/message/583892#583892
--------------------------------------------------------------
Thanks.
I use now such jboss-esb configuration
<listeners>
<fs-listener name="FileGateway"
busidref="helloFileChannel" is-gateway="true"
schedule-frequency="10">
<fs-message-filter
directory="${input}"
input-suffix=".txt"
work-suffix=".esbWorking"
post-delete="false"
post-directory="${output}"
post-suffix=""
error-delete="false"
error-directory="D:\Projects2\FileCopyESB\dirs\error"
error-suffix=".IN_ERROR"
post-rename="true"
/>
</fs-listener>
</listeners>
<actions mep="OneWay">
<action name="action6"
class="ru.csbi.esb.listener.MyAction"
process="process"
/>
<action name="BuildFilename"
class="org.jboss.soa.esb.actions.naming.FileNameGeneratorAction">
<property name="strategies" value="">
<strategies>
<strategy
class="org.jboss.soa.esb.actions.naming.strategy.ChangeSuffixNamingStrategy"
newSuffix="txt"/>
</strategies>
</property>
</action>
<action name="notificationAction"
class="org.jboss.soa.esb.actions.Notifier">
<property name="okMethod"
value="notifyOK"/>
<property name="notification-details">
<NotificationList type="ok">
<target class="NotifyFiles">
<file append="false"
URI="D:\Projects2\FileCopyESB\dirs\out\{org.jboss.soa.esb.naming.result}"/>
</target>
</NotificationList>
<NotificationList type="err">
<target class="NotifyFiles">
<file append="false"
URI="D:\Projects2\FileCopyESB\dirs\out\{org.jboss.soa.esb.naming.result}_error"/>
</target>
</NotificationList>
</property>
</action>
But i'll try with new listener.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/583892#583892]
Start a new discussion in JBoss ESB Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]