[jira] Created: (CAMEL-1014) ExpressionType is missing in Spring DSL

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (CAMEL-1014) ExpressionType is missing in Spring DSL

JIRA jira@apache.org
ExpressionType is missing in Spring DSL
---------------------------------------

                 Key: CAMEL-1014
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1014
             Project: Apache Camel
          Issue Type: Sub-task
            Reporter: Claus Ibsen
            Assignee: Jonathan Anstey




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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-1014) ExpressionType is missing in Spring DSL

JIRA jira@apache.org

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

Claus Ibsen commented on CAMEL-1014:
------------------------------------

Damm in ExpressionType everything is more or less @XmlTransient



> ExpressionType is missing in Spring DSL
> ---------------------------------------
>
>                 Key: CAMEL-1014
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1014
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: Claus Ibsen
>            Assignee: Jonathan Anstey
>


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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-1014) ExpressionType is missing in Spring DSL

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Jonathan Anstey commented on CAMEL-1014:
----------------------------------------

Is this really needed? Don't we use ExpressionType in the Spring DSL already? For instance, I just used it in the ExceptionType... Maybe I'm missing something obvious here :)

> ExpressionType is missing in Spring DSL
> ---------------------------------------
>
>                 Key: CAMEL-1014
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1014
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: Claus Ibsen
>            Assignee: Jonathan Anstey
>


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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-1014) ExpressionType is missing in Spring DSL

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Claus Ibsen commented on CAMEL-1014:
------------------------------------

Yeah sort of, you had to add a new class HandledPredicate to get it in the XSD for the onException. If we need it in other areas as well we have to add new classes there as well. There might be something we can do generally.

If not then .. well then we gotta add the needed classes.

> ExpressionType is missing in Spring DSL
> ---------------------------------------
>
>                 Key: CAMEL-1014
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1014
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: Claus Ibsen
>            Assignee: Jonathan Anstey
>


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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-1014) ExpressionType is missing in Spring DSL

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Jonathan Anstey commented on CAMEL-1014:
----------------------------------------

Ah, I think I get it. You'd like to have a reusable JAXB class for creating an expression in an element, like:

{code}
<someProcessor>
  <someConfigurableNameHere>
    <xpath>...</xpath>
  </someConfigurableNameHere>
</someProcessor>
{code}

instead of including say the expression type directly

{code}
<someProcessor>
  <xpath>...</xpath>
</someProcessor>
{code}

Make sense?


> ExpressionType is missing in Spring DSL
> ---------------------------------------
>
>                 Key: CAMEL-1014
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1014
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: Claus Ibsen
>            Assignee: Jonathan Anstey
>


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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-1014) ExpressionType is missing in Spring DSL

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Jonathan Anstey commented on CAMEL-1014:
----------------------------------------

I just committed a fix for this. Now to get something like this

{code}
<someProcessor>
  <someConfigurableNameHere>
    <xpath>...</xpath>
  </someConfigurableNameHere>
</someProcessor>
{code}

You need to add this to your model class:

{code}
@XmlElement(name = "someConfigurableNameHere", required = false)
private ExpressionSubElementType foo;
{code}

> ExpressionType is missing in Spring DSL
> ---------------------------------------
>
>                 Key: CAMEL-1014
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1014
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: Claus Ibsen
>            Assignee: Jonathan Anstey
>             Fix For: 1.5.0
>
>


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

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (CAMEL-1014) ExpressionType is missing in Spring DSL

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Jonathan Anstey resolved CAMEL-1014.
------------------------------------

    Fix Version/s: 1.5.0
       Resolution: Fixed

> ExpressionType is missing in Spring DSL
> ---------------------------------------
>
>                 Key: CAMEL-1014
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1014
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: Claus Ibsen
>            Assignee: Jonathan Anstey
>             Fix For: 1.5.0
>
>


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