[
https://issues.apache.org/jira/browse/UNOMI-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevan Jahanshahi updated UNOMI-758:
-----------------------------------
Description:
h2. Issue 1: make the camel route update asynchron to avoid blocking the
requests until camel route is killed.
When a route is updated, we stop all execution of the current route.
This stop can take time, and can lead to a request timeout.
The goal of this task is to stop the execution asynchronously.
h2. Issue 2: provide clear error messages in case something fail during camel
route creation/update
currently we are hiding the Exceptions:
inside the class
{*}org.apache.unomi.router.services.ExportConfigurationServiceImpl.java{*},
there is no stack trace:
{noformat}
2022-10-26T16:15:56,667 | ERROR | qtp824972552-99936 |
ExportConfigurationServiceImpl | 183 - org.apache.unomi.router-service -
1.4.4.jahia | Error when trying to save/update running Apache Camel Route:
d9fa4556-a967-4410-aa1f-869ad66dbda5 {noformat}
was:
When a route is updated, we stop all execution of the current route.
This stop can take time, and can lead to a request timeout.
The goal of this task is to stop the execution asynchronously.
> Bunch of fixes and improvements for Profile Export system
> ---------------------------------------------------------
>
> Key: UNOMI-758
> URL: https://issues.apache.org/jira/browse/UNOMI-758
> Project: Apache Unomi
> Issue Type: Bug
> Reporter: David Griffon
> Assignee: David Griffon
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> h2. Issue 1: make the camel route update asynchron to avoid blocking the
> requests until camel route is killed.
> When a route is updated, we stop all execution of the current route.
> This stop can take time, and can lead to a request timeout.
> The goal of this task is to stop the execution asynchronously.
> h2. Issue 2: provide clear error messages in case something fail during camel
> route creation/update
> currently we are hiding the Exceptions:
> inside the class
> {*}org.apache.unomi.router.services.ExportConfigurationServiceImpl.java{*},
> there is no stack trace:
> {noformat}
> 2022-10-26T16:15:56,667 | ERROR | qtp824972552-99936 |
> ExportConfigurationServiceImpl | 183 - org.apache.unomi.router-service -
> 1.4.4.jahia | Error when trying to save/update running Apache Camel Route:
> d9fa4556-a967-4410-aa1f-869ad66dbda5 {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)