The [B is not my main concern, I get that error when I tried to recode to use asynconious instead of synconous.
I get the Null payload ocasionaly when using sendDirect. I want it to be synconous. It gives me a warning essentualy saying that my client in running in the mode I require and then says its returing a null payload which is usless. I can find no documentation on this at all.
Most of the time it works perfectly just as I want it to. The problem is this null payload it returns for no disernable reason that I can see.
Code that sends to Mule:
UMOMessage result = messageClient.sendDirect(serviceName, null, message, null);
Mule config:
<mule-configuration id="Mule_Echo_Sample"
version="1.0">
<description> MyApp </description>
<container-context className="org.mule.extras.spring.SpringContainerContext">
<properties>
<property name="configFile" value="beans.xml"/>
</properties>
</container-context>
<model name="MyModel">
<mule-descriptor name="service" implementation="serviceBean">
</mule-descriptor>
</model>
</mule-configuration>
serviceBean is defined in beans.xml as:
<bean id="serviceBean" class="com......serviceImpl">
</bean>
Any idea why Mule is
deciding to give me a null payload sometimes and not others?