You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
Presentation
- Scope
- Background
- Component Caller API
- Event Converter
- Duration: 10 minutes
Hands-On Exercise
Component Caller API
Deployment / Configuration
- Python Container
- For instance aragornContainer with the demo CDB
- Component configuration:
<?xml version='1.0' encoding='ISO-8859-1'?>
<ComponentCallerAPI
Name="ComponentCallerAPI"
Code="acs.ComponentCallerAPI"
Type="IDL:alma/ACS/ACSComponent:1.0"
Container="<container>"
ImplLang="py"
Autostart="true"
</ComponentCallerAPI>
Interaction
Event Converter
Deployment / Configuration
- Python Container
- For instance aragornContainer with the demo CDB
- Component Configuration
<?xml version='1.0' encoding='ISO-8859-1'?>
<EventConverter
Name="EventConverter"
Code="acs.EventConverter"
Type="IDL:alma/ACS/ACSComponent:1.0"
Container="<container>"
ImplLang="py"
Autostart="true">
</EventConverter>
<?xml version="1.0" encoding="ISO-8859-1"?>
<EventConverter xmlns="urn:schemas-cosylab-com:EventConverter:1.0" xmlns:baci="urn:schemas-cosylab-com:BACI:1.0" xmlns:cdb="urn:schemas-cosylab-com:CDB:1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RedisConn host="localhost" port="6379"/>
<PubSub>
<Channel name="TEST">
<EventType type="Test.Event"/>
</Channel>
</PubSub>
<ReliableSubscribers>
<Subscriber name="test_events" queueLimit="20">
<Channel name="TEST">
<EventType type="Test.Event"/>
</Channel>
</Subscriber>
</ReliableSubscribers>
</EventConverter>
Interaction
Discussion
- Limitations: Callbacks
- Improvements
- New Ideas