You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Andrea Zoppello <zo...@tiscali.it> on 2007/07/23 15:27:11 UTC

Porting LWComponent to SMX Bean - destinationService

Hi all,

I'm studying if it's possible to port some "custom components" that we 
developed as
"Lightweigh components" to "pojo exposed in servixemix bean su".

I've two problems:

1) Most of my components extends the class TransformComponentSupport, 
that is very
useful for exchange handling, copying properties, attachments and so on.

2) I use frequently in servicemix.xml in the lw.su the attribute 
"destinationService".
    I've look at servicemix bean and it seems that here i need to use 
the @ExchangeTarget
   annotiation with Destination property, but in my point of view it's 
quite better to specify
    the destination in the xml file ( xbean.xml )
    Is there some way to do that??

Andrea Zoppello




Re: Porting LWComponent to SMX Bean - destinationService

Posted by Guillaume Nodet <gn...@gmail.com>.
It was considering spending some time on that soon, so that writing POJOs for
servicemix-bean would be easier.  Have you made any progress on that on
your side ?

On Mon, Jul 23, 2007 at 2:27 PM, Andrea Zoppello <zo...@tiscali.it> wrote:
> Hi all,
>
>  I'm studying if it's possible to port some "custom components" that we
>  developed as
>  "Lightweigh components" to "pojo exposed in servixemix bean su".
>
>  I've two problems:
>
>  1) Most of my components extends the class TransformComponentSupport,
>  that is very
>  useful for exchange handling, copying properties, attachments and so on.
>
>  2) I use frequently in servicemix.xml in the lw.su the attribute
>  "destinationService".
>     I've look at servicemix bean and it seems that here i need to use
>  the @ExchangeTarget
>    annotiation with Destination property, but in my point of view it's
>  quite better to specify
>     the destination in the xml file ( xbean.xml )
>     Is there some way to do that??
>
>  Andrea Zoppello
>
>
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/