mapas the mapping type. This property changes based on the event adaptor adapter selected. It lists only the mapping types supported by a particular event adaptor.
Click Add to add the individual attribute mapping to the event builder
For the correct properties to show, you must selected an event adapter that supports Map mapping type.
<PRODUCT_HOME>/repository/deployment/server/eventbuilders directory, which is the event builder deployment directory. Since hot deployment is enabled, you can simply add/remove files to deploy/undeploy from the server.
Create the XML file with the following Map based event builder configurations. Event builder implementation must start with
<eventbuilder> root element and the namespace set to
http://wso2.org/carbon/eventbuilder as in the example below:
ou can specify an event builder configuration using an XML file and save it in
<eventBuilder name="mapbuilder" xmlns="http://wso2.org/carbon/eventbuilder"> <from eventAdaptorName="jmsActiveMqAdaptor" eventAdaptorType="jms"> <property name="transport.jms.Destination">PurchasesUK</property> </from> <mapping type="map" > <property> <from name="cardNo" /> <to name="cardNo" type="string" /> </property> <property> <from name="price" /> <to name="price" type="float" /> </property> </mapping> <to streamName="purchases" version="1.0.0" /> </eventBuilder>