[jboss-dev-forums] [Design of JBoss ESB] - FS-listener IOException

ama1 do-not-reply at jboss.com
Wed May 21 05:20:26 EDT 2008


Hi,
I have a problem with the FS-Listener, I plan to read a xml-file and want to output the content on the command line.
Here is my jboss-esb.xml:
<?xml version="1.0" encoding="UTF-8"?>
  | <jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd"
  |  parameterReloadSecs="5" 
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  |  xsi:schemaLocation="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd
  | 
  | D:\Tools\jbossesb-server-4.3.CR1\docs\schema\jbossesb-1.0.1.xsd">
  | 	<providers>
  | 		<fs-provider name="file_inbound">
  | 			<fs-bus busid="inbound_channel">
  | 				<fs-message-filter directory="d:/temp/inbound" 
  | 						   input-suffix=".xml" 
  | 						   work-suffix=".esbInProcess" 
  | 						   post-delete="false" 
  | 						   post-directory="d:/temp/inbound" 
  | 						   post-suffix=".sentToEsb" 
  | 						   error-delete="false" 
  | 						   error-directory="d:/temp/inbound" 
  | 						   error-suffix=".IN_ERROR"/>
  | 			</fs-bus>
  | 		</fs-provider>
  | 		
  | 	</providers>
  | 	<services>
  | 		<service category="myCategory" name="HOH" description="Hand-Off-Handler">
  | 			<listeners>
  | 				<fs-listener name="File-Gateway" 
  |                                              busidref="inbound_channel" 
  |                                              maxThreads="1" 
  |                                              is-gateway="false" 
  |                                              poll-frequency-seconds="5"/>
  | 			</listeners>
  | 			
  | 			<actions>
  | 				<action name="action2" class="org.jboss.soa.esb.actions.SystemPrintln">
  | 					<property name="printfull" value="true"/>
  | 				</action>
  | 			 </actions>
  | 		</service>
  | 	</services>
  | </jbossesb>
  | 

But I getting this error in the server log:

  | 2008-05-21 11:13:38,128 DEBUG [org.jboss.internal.soa.esb.couriers.FileCourier] No valid work suffix found in EPR - using default of .esbInProcess
  | 2008-05-21 11:13:48,128 DEBUG [org.jboss.internal.soa.esb.couriers.FileCourier] FileCourier.pickup caught exception during readOneMessage: org.jboss.soa.esb.couriers.CourierMarshalUnmarshalException: java.io.IOException
  | 

What is wrong???
Unfortunaly the log messages are not very verbose.

Thanks for any help!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152251#4152251

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152251



More information about the jboss-dev-forums mailing list