Hi Its the same. bean was the old attribute, which has been deprecated. You should favor using ref
@XmlRootElement(name = "method") @XmlAccessorType(XmlAccessType.FIELD) public class MethodCallExpression extends ExpressionDefinition { @XmlAttribute @Deprecated private String bean; @XmlAttribute private String ref; On Tue, May 28, 2013 at 12:41 PM, AlanFoster <a...@alanfoster.me> wrote: > Hi, > > I was just wondering what the differences between the 'ref' and 'bean' > attribute are within the method XML type. > > For example > > <method ref="beanName" method="methodName" /> > > and > > <method bean="beanName" method="methodName" /> > > Thanks, > Alan > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Difference-between-method-attribute-bean-and-ref-tp5733348.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- www.camelone.org: The open source integration conference. Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen