On Wed, Apr 23, 2008 at 1:53 PM, Johannes Elsinghorst
<[EMAIL PROTECTED]> wrote:
> Gert ,
>  how can i configure the Marshaller in the xbean.xml?
>  I know I can put it in using  <bean id="providerMarshaler"
> class="org.apache.servicemix.http.endpoints.DefaultHttpProviderMarshaler" />
>  but this way i can't configure its properties right?

Actually the DefaultProviderMarshaler is already configured in the
start() method. You can extend and override it with your own custom
class to provide your own custom funcetionality. Then you'd configure
it in the xbean.xml like so:

<bean id="marshaler" class="com.mycompany.marhsler.MyHttpProviderMarshaler">
  <property name="foo" value="blah" />
  <property name="bar" value="blech" />
</bean>

There is no providerMarshaler property. There's only a marshaler property.

Bruce
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Reply via email to