I am new to Apama and trying to create a DataView from my monitor code in the Apama community edition.
I added the “DataView Service” EPL bundle while creating my project, and wrote the following code:
com.apama.dataview.DataViewAddDefinition add := new com.apama.dataview.DataViewAddDefinition;
add.dvDescription := “Test DataView”;
add.dvDisplayName := “TestDView”;
add.dvName := “TestDView”;
add.fieldNames := [“CTY”,“ARA”,“STT”];
add.fieldTypes := [“string”,“string”,“string”];
Then I added a DataView Item.
Now, when I use the engine_inject tool to load my monitor, it gives me the following error:
dataview not found within namespace com.apama
Got a similar error for the File Adapter while using events like OpenFileForReading etc. Error says:
file not found within namespace com.apama
This should not happen since I already added the DataView service bundle and File Adpater. Please suggest.