You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by KBerthelot <kb...@edgenet.com> on 2007/01/16 23:51:37 UTC

Setting properties of a jsr181 pojo

Is it possible to either pass constructor arguments to, or set the properties
of a jsr181 pojo in the xbean configuration?
-- 
View this message in context: http://www.nabble.com/Setting-properties-of-a-jsr181-pojo-tf3024117s12049.html#a8400929
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Setting properties of a jsr181 pojo

Posted by Kristian Köhler <Kr...@gmx.de>.
Hi

if you configure youre endpoint with a pojo attribute you're able to use
"normal" Spring configuration syntax.

--- 8< ---
...
<jsr181:endpoint pojo="#myPojo" />
...

...
<bean id="myPojo" class="">
	<constructor-arg>...
</bean>
...

--- 8< ---

Hope this helps.

Kristian

KBerthelot wrote:
> Is it possible to either pass constructor arguments to, or set the properties
> of a jsr181 pojo in the xbean configuration?