Developing Apama Applications > Using Apama Studio > Creating Blocks > Defining new blocks in Apama Studio
Defining new blocks in Apama Studio
Apama Studio provides an integrated graphical environment for creating custom blocks that you can use to build scenarios in Event Modeler. The Apama Studio block editor contains two tabs, the Builder tab and the Source tab.
On the Builder tab, you add the metadata for the block and specify its interface. On the Source tab, you add the EPL code that implements the block’s behavior. Apama Studio validates the EPL code you add to the block. When you save a block, Apama Studio saves it as a block definition file with a.bdf extension. Block definition files are then used when you add the block to a scenario in the Event Modeler.
You can define a new block from scratch by using the block editor or you can base the new block on an existing event type definition.
See File Definition Formats for detailed information on the internals of block definition files.
This topic is organized as follows:
*Specifying the block metadata
*Specifying the block interface
*Creating parallel-aware blocks
*Adding EPL code to the block definition
*Considerations for adding EPL code to the block definition
*Details about EPL code that you can add
*Timeliness of acknowledgements
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.