Add support for @EventHeader annotation

- Add @EventHeader which can be used to bound as single
  event headers instead of all headers @EventHeaders.
- Fixes #638
This commit is contained in:
Janne Valkealahti
2019-03-17 08:08:13 +00:00
parent 53d6ddefa9
commit 7df664d306
6 changed files with 172 additions and 10 deletions

View File

@@ -1300,6 +1300,12 @@ Number of parameters or order of those doesn't matter.
include::samples/DocsConfigurationSampleTests4.java[tags=snippetBB]
----
[NOTE]
====
Instead of getting all event headers with `@EventHeaders` you can use
`@EventHeader` which can bound to a single header.
====
=== Transition Annotations
Annotations for transitions are `OnTransition`, `OnTransitionStart`
and `OnTransitionEnd`.