[jira] [Updated] (CAMEL-13153) Strip newlines from exchange headers

2019-02-01 Thread Colm O hEigeartaigh (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAMEL-13153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Colm O hEigeartaigh updated CAMEL-13153:

Description: 
We should strip newlines from exchange headers that are written out by 
camel-mail.

PR: https://github.com/apache/camel/pull/2743

  was:We should strip newlines from exchange headers that are written out by 
camel-mail.


> Strip newlines from exchange headers
> 
>
> Key: CAMEL-13153
> URL: https://issues.apache.org/jira/browse/CAMEL-13153
> Project: Camel
>  Issue Type: Task
>  Components: camel-mail
>Reporter: Colm O hEigeartaigh
>Assignee: Colm O hEigeartaigh
>Priority: Major
> Fix For: 2.21.5, 2.23.2, 2.24.0, 2.22.4
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> We should strip newlines from exchange headers that are written out by 
> camel-mail.
> PR: https://github.com/apache/camel/pull/2743



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Work logged] (CAMEL-13153) Strip newlines from exchange headers

2019-02-01 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAMEL-13153?focusedWorklogId=193466=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-193466
 ]

ASF GitHub Bot logged work on CAMEL-13153:
--

Author: ASF GitHub Bot
Created on: 01/Feb/19 17:45
Start Date: 01/Feb/19 17:45
Worklog Time Spent: 10m 
  Work Description: coheigea commented on pull request #2743: CAMEL-13153 - 
Strip newlines from exchange headers
URL: https://github.com/apache/camel/pull/2743
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 193466)
Time Spent: 10m
Remaining Estimate: 0h

> Strip newlines from exchange headers
> 
>
> Key: CAMEL-13153
> URL: https://issues.apache.org/jira/browse/CAMEL-13153
> Project: Camel
>  Issue Type: Task
>  Components: camel-mail
>Reporter: Colm O hEigeartaigh
>Assignee: Colm O hEigeartaigh
>Priority: Major
> Fix For: 2.21.5, 2.23.2, 2.24.0, 2.22.4
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> We should strip newlines from exchange headers that are written out by 
> camel-mail.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (CAMEL-13153) Strip newlines from exchange headers

2019-02-01 Thread Colm O hEigeartaigh (JIRA)
Colm O hEigeartaigh created CAMEL-13153:
---

 Summary: Strip newlines from exchange headers
 Key: CAMEL-13153
 URL: https://issues.apache.org/jira/browse/CAMEL-13153
 Project: Camel
  Issue Type: Task
  Components: camel-mail
Reporter: Colm O hEigeartaigh
Assignee: Colm O hEigeartaigh
 Fix For: 2.21.5, 2.23.2, 2.24.0, 2.22.4


We should strip newlines from exchange headers that are written out by 
camel-mail.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAMEL-13037) camel-cxfrs - SimpleBinding ignores annotations on interface

2019-02-01 Thread Jens Kleine-Herzbruch (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAMEL-13037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Kleine-Herzbruch updated CAMEL-13037:
--
Issue Type: Bug  (was: Improvement)

> camel-cxfrs - SimpleBinding ignores annotations on interface
> 
>
> Key: CAMEL-13037
> URL: https://issues.apache.org/jira/browse/CAMEL-13037
> Project: Camel
>  Issue Type: Bug
>  Components: camel-cxfrs
>Affects Versions: 2.23.0
>Reporter: Jens Kleine-Herzbruch
>Priority: Major
> Attachments: 
> 0001-use-the-same-procedure-CXF-uses-for-discovering-JAX-.patch
>
>
> When using a service resource that implements an interface, and the interface 
> carries the JAX-RS annotations (a common setup, e.g. when auto-generating 
> code with Swagger) the SimpleBinding ignores those annotations and does not 
> set up the proper Camel message headers.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Work logged] (CAMEL-13152) Camel-JBPM KIE-Server extension should use KJAR project classloaded in deployment-scoped CamelContext

2019-02-01 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAMEL-13152?focusedWorklogId=193382=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-193382
 ]

ASF GitHub Bot logged work on CAMEL-13152:
--

Author: ASF GitHub Bot
Created on: 01/Feb/19 14:18
Start Date: 01/Feb/19 14:18
Worklog Time Spent: 10m 
  Work Description: DuncanDoyle commented on pull request #2742: 
CAMEL-13152: KJAR classloaded now set as CamelContext classloader for…
URL: https://github.com/apache/camel/pull/2742
 
 
   … deployment-scoped contexts.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 193382)
Time Spent: 10m
Remaining Estimate: 0h

> Camel-JBPM KIE-Server extension should use KJAR project classloaded in 
> deployment-scoped CamelContext
> -
>
> Key: CAMEL-13152
> URL: https://issues.apache.org/jira/browse/CAMEL-13152
> Project: Camel
>  Issue Type: Bug
>  Components: camel-jbpm
>Affects Versions: 2.23.1
>Reporter: Duncan Doyle
>Assignee: Maciej Swiderski
>Priority: Major
> Fix For: 3.0.0, 2.23.2
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> When a camel-route configured in a KJAR deployment reference a class in the 
> KJAR (for example in an  element), you get a 
> ClassNotFoundException. The problem is that the CamelContext is unable to 
> find the custom class defined in the KJAR.
> We should set the Application CamelContext classloader to the KJAR 
> classloader for deployment-scoped (KJAR scoped) CamelContext.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAMEL-13152) Camel-JBPM KIE-Server extension should use KJAR project classloaded in deployment-scoped CamelContext

2019-02-01 Thread Duncan Doyle (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAMEL-13152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Duncan Doyle updated CAMEL-13152:
-
Fix Version/s: 3.0.0

> Camel-JBPM KIE-Server extension should use KJAR project classloaded in 
> deployment-scoped CamelContext
> -
>
> Key: CAMEL-13152
> URL: https://issues.apache.org/jira/browse/CAMEL-13152
> Project: Camel
>  Issue Type: Bug
>  Components: camel-jbpm
>Affects Versions: 2.23.1
>Reporter: Duncan Doyle
>Assignee: Maciej Swiderski
>Priority: Major
> Fix For: 3.0.0, 2.23.2
>
>
> When a camel-route configured in a KJAR deployment reference a class in the 
> KJAR (for example in an  element), you get a 
> ClassNotFoundException. The problem is that the CamelContext is unable to 
> find the custom class defined in the KJAR.
> We should set the Application CamelContext classloader to the KJAR 
> classloader for deployment-scoped (KJAR scoped) CamelContext.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (CAMEL-13152) Camel-JBPM KIE-Server extension should use KJAR project classloaded in deployment-scoped CamelContext

2019-02-01 Thread Duncan Doyle (JIRA)
Duncan Doyle created CAMEL-13152:


 Summary: Camel-JBPM KIE-Server extension should use KJAR project 
classloaded in deployment-scoped CamelContext
 Key: CAMEL-13152
 URL: https://issues.apache.org/jira/browse/CAMEL-13152
 Project: Camel
  Issue Type: Bug
  Components: camel-jbpm
Affects Versions: 2.23.1
Reporter: Duncan Doyle
Assignee: Maciej Swiderski
 Fix For: 2.23.2


When a camel-route configured in a KJAR deployment reference a class in the 
KJAR (for example in an  element), you get a ClassNotFoundException. 
The problem is that the CamelContext is unable to find the custom class defined 
in the KJAR.

We should set the Application CamelContext classloader to the KJAR classloader 
for deployment-scoped (KJAR scoped) CamelContext.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (CAMEL-12861) Throttler seams to malfunction if system date change during execution

2019-02-01 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/CAMEL-12861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michaël COLL closed CAMEL-12861.

Resolution: Cannot Reproduce

> Throttler seams to malfunction if system date change during execution
> -
>
> Key: CAMEL-12861
> URL: https://issues.apache.org/jira/browse/CAMEL-12861
> Project: Camel
>  Issue Type: Bug
>  Components: camel-core
>Affects Versions: 2.21.2
>Reporter: Michaël COLL
>Priority: Minor
>
> The camel throttler component seams to malfunction if system date is changed 
> during execution.
> Test case :
>  * Start a route with a throttle component at 14h00 with configuration :
>  ** rejectExecution = true
>  ** timePeriodMillis = 2000ms
>  ** maximumRequestCount = 10
>  * Send 1 message on this route
>  * Change system date to 12h00
>  * Send 1 message
>  * A ThrottlerRejectedExecutionException is thrown
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-12861) Throttler seams to malfunction if system date change during execution

2019-02-01 Thread JIRA


[ 
https://issues.apache.org/jira/browse/CAMEL-12861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16758316#comment-16758316
 ] 

Michaël COLL commented on CAMEL-12861:
--

Hi,

I'll close the ticket.

Our Q team had realize that there test case was a bit too strange.

Thanks for your time and sorry for the inconvenience.

> Throttler seams to malfunction if system date change during execution
> -
>
> Key: CAMEL-12861
> URL: https://issues.apache.org/jira/browse/CAMEL-12861
> Project: Camel
>  Issue Type: Bug
>  Components: camel-core
>Affects Versions: 2.21.2
>Reporter: Michaël COLL
>Priority: Minor
>
> The camel throttler component seams to malfunction if system date is changed 
> during execution.
> Test case :
>  * Start a route with a throttle component at 14h00 with configuration :
>  ** rejectExecution = true
>  ** timePeriodMillis = 2000ms
>  ** maximumRequestCount = 10
>  * Send 1 message on this route
>  * Change system date to 12h00
>  * Send 1 message
>  * A ThrottlerRejectedExecutionException is thrown
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (CAMEL-13150) Add command "exchangeProperty" for dateExpression in ExpressionBuilder

2019-02-01 Thread Claus Ibsen (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAMEL-13150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-13150.
-
Resolution: Fixed
  Assignee: Claus Ibsen

Thanks for the PR

> Add command "exchangeProperty" for dateExpression in ExpressionBuilder
> --
>
> Key: CAMEL-13150
> URL: https://issues.apache.org/jira/browse/CAMEL-13150
> Project: Camel
>  Issue Type: Improvement
>  Components: camel-core
>Affects Versions: 2.23.1
>Reporter: Anthony Defraine
>Assignee: Claus Ibsen
>Priority: Minor
> Fix For: 2.21.5, 3.0.0, 2.23.2, 2.24.0, 2.22.4
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Method "_dateExpression_" in _ExpressionBuilder.java_ is not taking care 
> about new accessor of "_exchangeProperty_". Command "_property_" is 
> *deprecated* since 2.15
> +working+ : simple("_${date:property.CamelCreatedTimestamp:-MM-dd}_") 
> +not-working+ : 
> simple("_${date:exchangeProperty.CamelCreatedTimestamp:-MM-dd}_") 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (CAMEL-13151) Removed deprecated stuff from simple language

2019-02-01 Thread Claus Ibsen (JIRA)
Claus Ibsen created CAMEL-13151:
---

 Summary: Removed deprecated stuff from simple language
 Key: CAMEL-13151
 URL: https://issues.apache.org/jira/browse/CAMEL-13151
 Project: Camel
  Issue Type: Task
Reporter: Claus Ibsen
 Fix For: 3.0.0


Related to CAMEL-13150. Where property on the date command is deprecated. We 
should remove that, and also look at other things that has been deprecated in 
the simple language in 2.x.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Work logged] (CAMEL-13150) Add command "exchangeProperty" for dateExpression in ExpressionBuilder

2019-02-01 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAMEL-13150?focusedWorklogId=193274=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-193274
 ]

ASF GitHub Bot logged work on CAMEL-13150:
--

Author: ASF GitHub Bot
Created on: 01/Feb/19 08:59
Start Date: 01/Feb/19 08:59
Worklog Time Spent: 10m 
  Work Description: davsclaus commented on pull request #2741: CAMEL-13150: 
Add command "exchangeProperty" for dateExpression in ExpressionBuilder
URL: https://github.com/apache/camel/pull/2741
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 193274)
Time Spent: 40m  (was: 0.5h)

> Add command "exchangeProperty" for dateExpression in ExpressionBuilder
> --
>
> Key: CAMEL-13150
> URL: https://issues.apache.org/jira/browse/CAMEL-13150
> Project: Camel
>  Issue Type: Improvement
>  Components: camel-core
>Affects Versions: 2.23.1
>Reporter: Anthony Defraine
>Priority: Minor
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Method "_dateExpression_" in _ExpressionBuilder.java_ is not taking care 
> about new accessor of "_exchangeProperty_". Command "_property_" is 
> *deprecated* since 2.15
> +working+ : simple("_${date:property.CamelCreatedTimestamp:-MM-dd}_") 
> +not-working+ : 
> simple("_${date:exchangeProperty.CamelCreatedTimestamp:-MM-dd}_") 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAMEL-13150) Add command "exchangeProperty" for dateExpression in ExpressionBuilder

2019-02-01 Thread Claus Ibsen (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAMEL-13150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-13150:

Fix Version/s: 2.22.4
   2.24.0
   2.23.2
   3.0.0
   2.21.5

> Add command "exchangeProperty" for dateExpression in ExpressionBuilder
> --
>
> Key: CAMEL-13150
> URL: https://issues.apache.org/jira/browse/CAMEL-13150
> Project: Camel
>  Issue Type: Improvement
>  Components: camel-core
>Affects Versions: 2.23.1
>Reporter: Anthony Defraine
>Priority: Minor
> Fix For: 2.21.5, 3.0.0, 2.23.2, 2.24.0, 2.22.4
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Method "_dateExpression_" in _ExpressionBuilder.java_ is not taking care 
> about new accessor of "_exchangeProperty_". Command "_property_" is 
> *deprecated* since 2.15
> +working+ : simple("_${date:property.CamelCreatedTimestamp:-MM-dd}_") 
> +not-working+ : 
> simple("_${date:exchangeProperty.CamelCreatedTimestamp:-MM-dd}_") 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)