Skip to content

Add Macro execution support on context listener #106

Open
@aliokan

Description

@aliokan

When I don't need to adapt something, I want be able to use Macro instead of MacroAdapterStrategy.

<listen ref="StatusService">
    <event static-ref="message.ServiceMessage.OFFLINE" strategy="adapter.switch.SwitchStatusServiceMessageStrategy"/>
</listen>

Like state event :

<state id="assemblingEnd" ref="state.ASSEMBLING_END">
    <enter command-class="adapter.bootstrap.BootstrapMacro" fire-once="true"/>
</state>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions