OK I guess I am using the servicemix-engine archetype, I cant get the source
for the updated signature, this is what i have in my code created using the
service-mix engine archetype
public class MyComponent extends DefaultComponent {
private MyEndpoint[] endpoints;
public MyEndpoint[] getEndpoints() {
return endpoints;
}
public void setEndpoints(MyEndpoint[] endpoints) {
this.endpoints = endpoints;
}
protected List getConfiguredEndpoints() {
return asList(endpoints);
}
protected Class[] getEndpointClasses() {
return new Class[] { MyEndpoint.class };
}
}
I guess i should the type of endpoints ?? can you please let me know the
correct method call
Thanks.
gnodet wrote:
>
> You need to deploy a newer version of servicemix-shared.
> The method signature has changed, and it seems you still use
> the older version.
>
> On 12/20/06, Prem <[EMAIL PROTECTED]> wrote:
>>
>>
>> My app was deploying till last week fine, i get this error when i do a
>> mvn:jbiprojectDeploy
>> I see that the new servicemix-commons DefaultComponent doesnt have the
>> asList method, but I have tried copying the old lib to the repo and the
>> servicemix\lib dir, still the same problem.
>>
>> Method not found
>>
>> org.apache.servicemix.common.DefaultComponent.asList([Ljava/lang/Object;)Ljava/util/List;
>>
>> Any help would be appreicated.
>>
>> Thanks,
>> Kevin
>> --
>> View this message in context:
>> http://www.nabble.com/error-deploying-service-assembly-tf2857393s12049.html#a7982954
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
>
>
--
View this message in context:
http://www.nabble.com/error-deploying-service-assembly-tf2857393s12049.html#a7994274
Sent from the ServiceMix - User mailing list archive at Nabble.com.