#-------------------------------------------------------------------- # Example 1 : XML with simple routing #-------------------------------------------------------------------- #--- Definitions of interfaces -------------------------------------- System_Example1InFile_Message=XMLMessage System_Example1InFile_Receiver=FileReceiverThread System_Example1InFile_Filename=$XBUS_HOME$/sample/Example1Infile.xml System_Example1InFile_FinalResolution=Delete System_Example1InFile_OnError=Rename System_Example1InFile_OnEmpty=Ignore System_Example1InFile_XMLValidating=true System_Example1InFile_Journal.Receive=true System_Example1OutFile_Message=XMLMessage System_Example1OutFile_Sender=FileSender System_Example1OutFile_Filename=$XBUS_HOME$/sample/Example1OutFile.xml System_Example1OutFile_ConflictResolution=Overwrite System_Example1OutFile_Journal.Send=true #--- Definitions for routing ---------------------------------------- Router_Example1InFile_Distribute1=Example1OutFile #--- Definitions for transforming ----------------------------------- XSLTStylesheet_Example1InFile_Example1OutFile=Companies2Names.xsl #-------------------------------------------------------------------- # Example 2 : RecordTypes with fixed field length #-------------------------------------------------------------------- #--- Definitions of interfaces -------------------------------------- System_Example2PartsOrderIncoming_Message=RecordTypeMessage System_Example2PartsOrderIncoming_Receiver=FileReceiver System_Example2PartsOrderIncoming_Filename=$XBUS_HOME$/sample/Example2In$WILDCARD$.dat System_Example2PartsOrderIncoming_FinalResolution=Rename System_Example2PartsOrderIncoming_OnEmpty=Ignore System_Example2PartsOrderIncoming_OnError=Preserve System_Example2PartsOrderIncoming_DescriptionFile=PartsOrderIncoming.xml System_Example2PartsOrderIncoming_Journal.Receive=true System_Example2PartsOrderOutgoing_Message=RecordTypeMessage System_Example2PartsOrderOutgoing_Sender=FileSender System_Example2PartsOrderOutgoing_Filename=$XBUS_HOME$/sample/Example2Out$WILDCARD$.dat System_Example2PartsOrderOutgoing_ConflictResolution=Append System_Example2PartsOrderOutgoing_DescriptionFile=PartsOrderOutgoing.xml System_Example2PartsOrderOutgoing_Journal.Send=true System_Example2PartsOrderIncomingInternal_Message=SimpleTextMessage System_Example2PartsOrderIncomingInternal_Sender=FileSender System_Example2PartsOrderIncomingInternal_Filename=$XBUS_HOME$/sample/Example2Out$WILDCARD$.xml System_Example2PartsOrderIncomingInternal_ConflictResolution=Overwrite System_Example2PartsOrderIncomingInternal_Journal.Send=true #--- Definitions for routing ---------------------------------------- Router_Example2PartsOrderIncoming_Distribute1=Example2PartsOrderOutgoing Router_Example2PartsOrderIncoming_Distribute2=Example2PartsOrderIncomingInternal #--- Definitions for transforming ----------------------------------- XSLTStylesheet_Example2PartsOrderIncoming_Example2PartsOrderOutgoing=PartsOrder_In2Out.xsl #-------------------------------------------------------------------- # Example 3 : XML with complex routing #-------------------------------------------------------------------- #--- Definitions of interfaces -------------------------------------- System_Example3InFile_Message=XMLMessage System_Example3InFile_Receiver=FileReceiverThread System_Example3InFile_Filename=$XBUS_HOME$/$VARIABLE_SampleDir$/Example3Infile.xml System_Example3InFile_FinalResolution=Delete System_Example3InFile_OnError=Rename System_Example3InFile_OnEmpty=Ignore System_Example3InFile_XMLSchema=Address.xsd System_Example3InFile_Journal.Receive=true System_Example3TransformStep_Message=XMLMessage System_Example3TransformStep_Sender=PingSender System_Example3TransformStep_Journal.Send=true System_Example3ReverseStep1_Message=SimpleTextMessage System_Example3ReverseStep1_Sender=JavaSender System_Example3ReverseStep1_Class=net.sf.xbus.sample.JavaWorker System_Example3ReverseStep1_Method=reverse System_Example3ReverseStep1_Journal.Send=true System_Example3ReverseStep1_Timeout=5 System_Example3ReverseStep2_Message=SimpleTextMessage System_Example3ReverseStep2_Sender=JavaSender System_Example3ReverseStep2_Class=net.sf.xbus.sample.JavaWorker System_Example3ReverseStep2_Method=reverse System_Example3ReverseStep2_Journal.Send=true System_Example3ReverseStep2_Timeout=5 System_Example3BufferQueue1_Message=XBUSXMLMessage System_Example3BufferQueue1_Receiver=MQReceiverThread System_Example3BufferQueue1_Sender=MQSender System_Example3BufferQueue1_Queuename=Buffer1 System_Example3BufferQueue1_Journal.Receive=true System_Example3BufferQueue1_Journal.Send=true System_Example3BufferQueue2_Message=XBUSXMLMessage System_Example3BufferQueue2_Receiver=MQReceiverThread System_Example3BufferQueue2_Sender=MQSender System_Example3BufferQueue2_Queuename=Buffer2 System_Example3BufferQueue2_Journal.Receive=true System_Example3BufferQueue2_Journal.Send=true System_Example3HTTPSample1_Message=XBUSXMLMessage System_Example3HTTPSample1_Sender=HTTPSender System_Example3HTTPSample1_Receiver=HTTPReceiver System_Example3HTTPSample1_URL=http://localhost:8080/xbus/servlet/Example3HTTPSample1 System_Example3HTTPSample1_Content-Type=text/xml System_Example3HTTPSample1_Journal.Send=true System_Example3HTTPSample1_Journal.Receive=true System_Example3HTTPSample2_Message=XBUSXMLMessage System_Example3HTTPSample2_Sender=HTTPSender System_Example3HTTPSample2_Receiver=HTTPReceiver System_Example3HTTPSample2_URL=http://localhost:8080/xbus/servlet/Example3HTTPSample2 System_Example3HTTPSample2_Content-Type=text/xml System_Example3HTTPSample2_Journal.Send=true System_Example3HTTPSample2_Journal.Receive=true System_Example3OutFile1_Message=XBUSXMLMessage System_Example3OutFile1_Sender=FileSender System_Example3OutFile1_Filename=$XBUS_HOME$/$VARIABLE_SampleDir$/Example3OutFile1.xml System_Example3OutFile1_ConflictResolution=Overwrite System_Example3OutFile1_Journal.Send=true System_Example3OutFile2_Message=SimpleTextMessage System_Example3OutFile2_Sender=FileSender System_Example3OutFile2_Filename=$XBUS_HOME$/$VARIABLE_SampleDir$/Example3OutFile2.xml System_Example3OutFile2_ConflictResolution=Overwrite System_Example3OutFile2_Journal.Send=true #--- Definitions for routing ---------------------------------------- Router_Example3InFile_Invoke1=Example3TransformStep Router_Example3InFile_Invoke2=Example3ReverseStep1 Router_Example3InFile_Invoke3=Example3ReverseStep2 Router_Example3InFile_Distribute1=Example3BufferQueue1 Router_Example3InFile_Distribute2=Example3BufferQueue2 Router_Example3BufferQueue1_Distribute1=Example3HTTPSample1 Router_Example3HTTPSample1_Distribute1=Example3OutFile1 Router_Example3BufferQueue2_Distribute1=Example3HTTPSample2 Router_Example3HTTPSample2_Distribute1=Example3OutFile2 #--- Definitions for transforming ----------------------------------- XSLTStylesheet_Example3InFile_Example3TransformStep=Companies2Names.xsl # --- Variables ----------------------------------------------------- Base_Variable_SampleDir=sample #-------------------------------------------------------------------- # Example 4 : JavaReceiver #-------------------------------------------------------------------- #--- Definitions of interfaces -------------------------------------- System_Example4InData_Message=SimpleTextMessage System_Example4InData_Receiver=JavaReceiver System_Example4InData_Journal.Receive=true System_Example4Ping_Message=SimpleTextMessage System_Example4Ping_Sender=PingSender System_Example4Ping_Journal.Send=true #--- Definitions for routing ---------------------------------------- Router_Example4InData_Invoke1=Example4Ping #--- Definitions for special transformation ------------------------- Transformer_Example4InData_Example4Ping=JavaTransformer Transformer_Example4InData.Example4Ping_Class=net.sf.xbus.sample.JavaTransformerSample Transformer_Example4InData.Example4Ping_Method=reverse #-------------------------------------------------------------------- # Example 5 : DBSender #-------------------------------------------------------------------- #--- Definitions of interfaces -------------------------------------- System_Example5InFile_Message=SimpleTextMessage System_Example5InFile_Receiver=FileReceiver System_Example5InFile_Filename=$XBUS_HOME$/sample/Example5Infile.xml System_Example5InFile_FinalResolution=Preserve System_Example5InFile_OnEmpty=Ignore System_Example5InFile_OnError=Preserve System_Example5InFile_Journal.Receive=true System_Example5Database_Message=XMLMessage System_Example5Database_Sender=DatabaseSender System_Example5Database_DBConnection=Example5DB System_Example5Database_Journal.Send=true System_Example5OutFile_Message=SimpleTextMessage System_Example5OutFile_Sender=FileSender System_Example5OutFile_Filename=$XBUS_HOME$/sample/Example5OutFile.xml System_Example5OutFile_ConflictResolution=Overwrite System_Example5OutFile_Journal.Send=true #--- Definitions for routing ---------------------------------------- Router_Example5InFile_Invoke1=Example5Database Router_Example5InFile_Distribute1=Example5OutFile #-------------------------------------------------------------------- # Definitions for connections #-------------------------------------------------------------------- #Connection for example 5 on database HSQLDB DBConnection_Example5DB_Driver=org.hsqldb.jdbcDriver DBConnection_Example5DB_URL=jdbc:hsqldb:hsql://localhost DBConnection_Example5DB_MaxRows=1000 DBConnection_Example5DB_User=sa DBConnection_Example5DB_Password= DBConnection_Example5DB_AutoCommit=false #Connection for journaling on database HSQLDB DBConnection_Journal_Driver=org.hsqldb.jdbcDriver DBConnection_Journal_URL=jdbc:hsqldb:hsql://localhost DBConnection_Journal_MaxRows=1000 DBConnection_Journal_User=sa DBConnection_Journal_Password= DBConnection_Journal_AutoCommit=true #Connection for example 5 on database HSQLDB #DBConnection_Journal_Driver=com.mysql.jdbc.Driver #DBConnection_Journal_URL=jdbc:mysql://localhost:3306/xbus #DBConnection_Journal_MaxRows=1000 #DBConnection_Journal_User=root #DBConnection_Journal_Password= #DBConnection_Example5DB_AutoCommit=false #Connection for journaling on Database MySQL #DBConnection_Journal_Driver=com.mysql.jdbc.Driver #DBConnection_Journal_URL=jdbc:mysql://localhost:3306/xbus #DBConnection_Journal_MaxRows=1000 #DBConnection_Journal_User=root #DBConnection_Journal_Password= #DBConnection_Journal_AutoCommit=true #OpenJMS Connection_MQ_QueueConnectionFactory=JmsQueueConnectionFactory Connection_MQ_URL=tcp://localhost:3035 Connection_MQ_ContextFactory=org.exolab.jms.jndi.InitialContextFactory #FioranoMQ 5.22 #Connection_MQ_Server=FioranoMQ #Connection_MQ_ContextFactory=fiorano.jms.runtime.naming.FioranoInitialContextFactory #Connection_MQ_URL=http://localhost:1856 #Connection_MQ_QueueConnectionFactory=primaryQCF #Connection_MQ_User=anonymous #Connection_MQ_Password=anonymous #HTTP Connection_HTTP_Keystore=ssl/client.keystore #-------------------------------------------------------------------- # Notification of critical errors #-------------------------------------------------------------------- #Base_NotifyError_System1=ErrorMail #Base_NotifyError_MessageLength=1000 #System_ErrorMail_Message=NotifyErrorMessage #System_ErrorMail_Sender=SMTPSender #System_ErrorMail_Host=mail.xxx.com #System_ErrorMail_Subject=Unrecoverable error detected by xBus #System_ErrorMail_ToAddress1=john.doe@xxx.com #System_ErrorMail_ToAddress2=mary@xxx.com #System_ErrorMail_FromAddress=administrator@xxx.com #System_ErrorMail_FromName=xBus Administration #-------------------------------------------------------------------- # Some basic definitions #-------------------------------------------------------------------- #--- Tracing -------------------------------------------------------- #Trace_Levels: 4=DEBUG, 3=INFO, 2=WARN, 1=ERROR, 0=ALWAYS Base_Trace_Level=3 Base_Trace_Tracer=ConsoleTrace #Base_Trace_Tracer=FileTrace Base_Trace_MaxLength=999999 Base_Trace_Filename=trace.log #--- Journaling ----------------------------------------------------- Base_Journal_Implementation=DBJournal #Base_Journal_Implementation=FileJournal Base_Journal_MessageLength=1024 Base_Journal_DBConnection=Journal #--- Misc ----------------------------------------------------------- Base_Receiver_WaitAfterError=5 Base_FileReceiverThread_StopAfterErrors=-1 Base_FileReceiverThread_Timeout=1 Base_MQReceiverThread_StopAfterErrors=-1 Base_MQReceiverThread_Timeout=5 Base_POP3ReceiverThread_StopAfterErrors=-1 Base_POP3ReceiverThread_Timeout=5 Base_HTTPReceiver_StopAfterErrors=-1 #--- JMX Administration --------------------------------------------- Base_Administration_JMXPort=1099 #--- Error Handling ------------------------------------------------- Base_DeletedMessageStore_Enabled=true Base_DeletedMessageStore_Directory=$XBUS_HOME$/log/DeletedMessages