Want to send test case, but mail system rejects files that are > 30k  !!!

 


From: Mansour Raad [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 04, 2005 2:36 PM
To: [email protected]
Subject: RE: [servicemix-user] ServiceMixClient.request

 

I get null using the getContent() !

 


From: Rob Davies [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 04, 2005 2:33 PM
To: [email protected]
Subject: Re: [servicemix-user] ServiceMixClient.request

 

oh I see!

 

you're not constrained to use the getProperty method on the inMessage - it's just a convience to get access to the Marshaller - you can still access the getContent() method

 

On 4 Aug 2005, at 18:57, Mansour Raad wrote:

 

Sure,

 

Calling a service using:

 

       Object response = m_serviceMixClient.request( m_resolver, null, null, echoRequest );

 

On the producer side, given an exchange message, I have to do the following:

 

        final NormalizedMessage inMessage = messageExchange.getMessage( "in" );

        final EchoRequest echoRequest = ( EchoRequest ) inMessage.getProperty( Marshaler.BODY );

 

I was expecting (or maybe I should spend more time with the spec) to get the echo request as a java source content.

 

Mansour

J

 


From: Rob Davies [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 04, 2005 1:41 PM
To: [email protected]
Subject: Re: [servicemix-user] ServiceMixClient.request

 

Hi Mansour,

 

can you be a little more specfic - I don't understand ?

 

cheers,

 

Rob

 

On 4 Aug 2005, at 17:45, Mansour Raad wrote:



 

Can u please explain why the content is a message property (key -> Marshaler.BODY) rather than a message payload ?

 

Thanks,

Mansour

J



 

 

 

 

Reply via email to