[ 
https://issues.apache.org/activemq/browse/CAMEL-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58633#action_58633
 ] 

Claus Ibsen commented on CAMEL-2081:
------------------------------------

Sergey fell free to create a new ticket and a patch will be appreciated.

Then you could add a new option on quartz endpoint to dictate if the JobDetail 
should be stored in body or header.
Finding a good name for the option can be a challenge :)

If the patch have unit tests then we are even more likely to accept and commit 
it.

> camel-quartz - should not store JobDetail in body but as header
> ---------------------------------------------------------------
>
>                 Key: CAMEL-2081
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2081
>             Project: Apache Camel
>          Issue Type: Improvement
>    Affects Versions: 1.6.1, 2.0.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> Currently a quartz object JobDetail is stored in the Camel Message body.
> We should not do this but store it as header instead.
> Then camel-quartz is also the same as the camel timer endpoint that also have 
> a {{null}} body.
> Then it also fixes problems where people have to set an empty body themself, 
> for example as here:
> http://www.nabble.com/sql-throwing-oracle-17004-ORA-17004-error-td25955346.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to