[ 
http://issues.apache.org/jira/browse/XBEAN-9?page=comments#action_12376539 ] 

Dan Diephouse commented on XBEAN-9:
-----------------------------------

I attached a patch for this to XBEAN-8. It can be used by doing:

    /**
     * @org.apache.xbean.Flat
     * @return
     */
    public Recipe getTopRecipe() {
        return topRecipe;
    }

The corresponding syntax will be:

<x:recipe-service id="recipeService">
    <x:topRecipe>
      <x:instructions>Mash together</x:instructions>
      <x:ingredients>Food</x:ingredients>
    </x:topRecipe>
</x:recipe-service>

> Support flat properties
> -----------------------
>
>          Key: XBEAN-9
>          URL: http://issues.apache.org/jira/browse/XBEAN-9
>      Project: XBean
>         Type: New Feature

>   Components: spring
>     Versions: 2.2
>     Reporter: Dan Diephouse
>     Assignee: Dain Sundstrom

>
> Right now in servicemix we have to do:
> <eip:inListener>
>     <eip:exchange-target service="test:trace1" />
>   </eip:inListener>
> It would be much better if we could do:
> <eip:inListener service="test:trace1" />

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to