Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Ebam/Source Adapters"

(Log File Adapter)
(Log File Adapter)
Line 14: Line 14:
 
</adapter>  
 
</adapter>  
 
</code>
 
</code>
 +
gshyagjhagjhdgs

Revision as of 11:36, 23 August 2010

eBAM is composed by a series of adapters that can retrieve messages from different sources and pass them to the Adapter Manager.

Log File Adapter

The log file Adapter is provived inside ebam and can parse an xml file, retrieving messages from it, and send them to the Adapter Manager. The log adapter optionally is able to restart reading the log from the message in which it previously stopped to read. To configured this adapter, take the eBAM runtime and go to subfolder plugins. With a tool that manage .jar archive, open the plugin org.eclipse.ebam.adapter_1.0.0.jar. Open the file /conf/configuration.xml. In this file you can configure the behaviour of the Log Adapter. Here there is a part of the text of the configuration.xml which shows the configuration of the log Adapter:

<adapter id="TEST_SERVICE">

 <property name="factory" value="org.eclipse.ebam.adapters.log.LogAdapter"/>
 <property name="source" value="C:/temp/logAllarme.log"/>
 <property name="key" value="FALSE"/>  
 <property name="modality" value="RECOVERY"/>

</adapter> gshyagjhagjhdgs

Back to the top