[JBoss JIRA] (RTGOV-645) Resubmitted message should identify source situation to enable further failures (situations) to be linked back
by Werner Müller (JIRA)
[ https://issues.jboss.org/browse/RTGOV-645?page=com.atlassian.jira.plugin.... ]
Werner Müller commented on RTGOV-645:
-------------------------------------
Ok, now I can confirm that a proper setting of Context Mapper parameters makes (3) work.
The issue with this solution is that it requires us to change the setup of several Context Mappers. We currently have some Context Mappers with "Include Namespaces" set. '_rtogv_resubmittedSituationId' has no namespace. So I would have to add an empty namespace. How do you do that? My solution was to add the regex '^$', but this looks rather clumsy. In adiiton, it now maps all properties with an empty namespace. To solve this, you would need to add all required property names (from all namespaces) to the "Includes" parameter. (This is still gives you potentially more than expected.)
OTOH, if you use the default setting of the context mapper parameters with no entry, SY adds '.*' to the Excludes parameter. This again filters out everything, including the '_rtogv_resubmittedSituationId'.
IMO, the mapping of internal properties (like '_rtogv_resubmittedSituationId') should be transparent to application developers and not be controlled by the application's setting of context mappers or their parameters.
> Resubmitted message should identify source situation to enable further failures (situations) to be linked back
> --------------------------------------------------------------------------------------------------------------
>
> Key: RTGOV-645
> URL: https://issues.jboss.org/browse/RTGOV-645
> Project: RTGov (Run Time Governance)
> Issue Type: Feature Request
> Reporter: Gary Brown
> Assignee: Gary Brown
> Fix For: 2.1.0.Beta2
>
>
> When a message, associated with a situation, is resubmitted, ensure that the situation id is carried in a message header so that it can be included in resulting activity events.
> If the resubmitted message results in further situations being created, then these new situations should include the reference back to the originating situation id.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 8 months