You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Dmitry Volodin (JIRA)" <ji...@apache.org> on 2018/10/12 13:21:00 UTC

[jira] [Commented] (CAMEL-12878) camel-jpa: Allow for passing named-query parameters via message header and/or body

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

Dmitry Volodin commented on CAMEL-12878:
----------------------------------------

[~jcordes], this is good idea, but in this case we need to define in which priority find the parameters source: i.e. Bean Registry, Header or Body.

> camel-jpa: Allow for passing named-query parameters via message header and/or body
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-12878
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12878
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jpa
>    Affects Versions: 2.22.1
>            Reporter: Jochen Cordes
>            Priority: Major
>
> Right now camel-jpa allows for passing parameters to named-queries via a bean in the registry. For ease of use it should also be possible to pass parameters via message header and/or body (f.e. using a HashMap and key/values for parameter-name and parameter-value).



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