Re: ClassCastException in blueprint Route

2015-06-14 Thread yogu13
Hello John, The configuration seems to be good... Does your LocalConfigurationService has a getCurrentConfiguration method ? if yes then i hope its returning an instance which is of type com.example.services.configuration.ConfigurationService Regards, -Yogesh -- View this message in context:

Re: ClassCastException in blueprint Route

2015-06-13 Thread John Dubchak
Hi Yogesh, I actually (and accidentally) replied directly to Andy. Here is the declaration of the bean and the service export in the provider's blueprint.xml: class="com.example.services.configuration.local.LocalConfigurationService"> interface="com.example.services.configur

Re: ClassCastException in blueprint Route

2015-06-12 Thread yogu13
Hello John, What i am saying is that the problem seems to be with the object returned by the getCurrentConfiguration method of your LocalConfigurationService. based on the trace Caused by: java.lang.ClassCastException: com.example.services.configuration.local.LocalConfigurationService cannot

Re: ClassCastException in blueprint Route

2015-06-12 Thread John Dubchak
Hi Yogesh, Thank you for your reply. It seems that you're saying to ignore the cause that it cannot cast LocalConfigurationService to ConfigurationService. Is that correct? Thanks, John On 6/11/15 8:54 PM, yogu13 wrote: Hi, Looking at the stacktrace... the problem seems to be with the obje

Re: ClassCastException in blueprint Route

2015-06-11 Thread yogu13
Hi, Looking at the stacktrace... the problem seems to be with the object returned by the getCurrentConfiguration method of your LocalConfigurationService. Looking at the trace it looks like blueprint did resolved the reference to your implementation and returned a proxy for it. would suggest to

Re: ClassCastException in blueprint Route

2015-06-11 Thread Andrew Block
John,  Would you be able to post how the service is being declared along with the service properties to ensure the correct service is being referenced in your consumer blueprint. Thanks, Andy --  Andrew Block On June 11, 2015 at 5:28:54 PM, John Dubchak (j...@johndubchak.com) wrote: Hi, I