Adrian Co wrote:
>
>>You would generally have properties like targetService, targetEndpoint,
>>and targetInterface in your custom SU and specify the HTTP provider as
>>the target endpoint, and perform a send/sendSync to it in your SU code.
>
> Benamin wrote:
>>
>> Gert Vanthienen wrote:
>>
>>>
>>>>> According to the stacktrace, the endpoint attribute is required and
>>>>> missing. Could you try adding it to the <servManagerEnqueue:endpoint
>>>>> />
>>>>> tag?
>>>>>
>>>>> Gert
>>>>
>>>>>> Benamin wrote:
>>>>>>
>>>>>> Gert Vanthienen wrote:
>>>>>>
>>>>>>> Benamin,
>>>>>>>
>>>>>>> It seems like a required attribute is missing in one of your
>>>>>>> xbean.xml
>>>>>>> files. Can you post them?
>>>>>>>
>>>>>>> Gert
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> I have one xbean.xml and that is for my SU that is dependent on my
>>>>>> SE.
>>>>>> Here
>>>>>> are the contents:
>>>>>>
>>>>>> <beans
>>>>>
>>>>>>> >xmlns:servManagerEnqueue="http://org.apache.servicemix.samples.serviceManagerAssembly/1.0"
>>>>>>>>
>>>>>> xmlns:logicblaze="http://logicblaze.com">
>>>>>> <servManagerEnqueue:endpoint
>>>>>> service="logicblaze:ServiceManagerEnqueue" />
>>>>>> </beans>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>> Cool, that worked. Thanks. Now, I have another question. In that
>>> xbean.xml file I created above, how do I tell it to route the data(that
>>> my
>>> SE creates) to an http provider SU?
>>>
>
>
>
The SU doesn't accept the targetEndpoint attribute it seems as I get the
error:
" Error setting property values; nested exception is
org.springframework.beans.NotWritablePropertyException: Invalid property
'targetEndpoint' of bean class
[org.apache.servicemix.samples.serviceManagerAssembly.MyEndpoint]: Bean
property 'targetEndpoint' is not writable or has an invalid setter method.
Does the parameter type of the setter match the return type of the getter?"
Also, I don't see any code for a send/sendSync method in the SU that was
created. Can you provide more information on how to do this? thanks.
--
View this message in context:
http://www.nabble.com/Problems-deploying-SA-tf3710157s12049.html#a10394786
Sent from the ServiceMix - User mailing list archive at Nabble.com.