Hi Malaka,

I think it may due to ServiceBusInitializer waiting till TaskService get
registered since the cardinality is mandatory. Can you check that it get
registered.

Thanks,
Manoj


*Manoj Kumara*
Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94713448188


On Tue, May 6, 2014 at 1:43 PM, Malaka Silva <[email protected]> wrote:

> Hi Manoj,
>
> thx for the info.
>
> I have checked the solution.
>
> However ServiceBusInitializer component did not get activated after adding
> the following
>
>  * @scr.reference name="ntask.component"
>  * interface="org.wso2.carbon.ntask.core.service.TaskService"
> cardinality="1..1"
>  * policy="dynamic" bind="setTaskService" unbind="unsetTaskService
>
> Best Regards,
> Malaka
>
>
> On Tue, May 6, 2014 at 12:52 PM, Manoj Kumara <[email protected]> wrote:
>
>> Hi Malaka,
>>
>> I think this can be possible using declarative services. By synapse
>> component can having 1.1 relation to a service component registered by
>> ntask.
>>
>> Thanks,
>> Manoj
>>
>>
>> *Manoj Kumara*
>> Software Engineer
>> WSO2 Inc. http://wso2.com/
>> *lean.enterprise.middleware*
>> Mobile: +94713448188
>>
>>
>> On Tue, May 6, 2014 at 11:09 AM, Malaka Silva <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> Are the components loaded according to the order in the bundles.infofile?
>>>
>>> If so how can we change this order of activating components?
>>>
>>> eg: I need the ntask component to be loaded before synapse deployment
>>> starts.
>>>
>>> Any idea?
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Senior Tech Lead
>>> M: +94 777 219 791
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> http://www.wso2.com/
>>> http://www.wso2.com/about/team/malaka-silva/<http://wso2.com/about/team/malaka-silva/>
>>>
>>> Save a tree -Conserve nature & Save the world for your future. Print
>>> this email only if it is absolutely necessary.
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Tech Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
> http://www.wso2.com/about/team/malaka-silva/<http://wso2.com/about/team/malaka-silva/>
>
> Save a tree -Conserve nature & Save the world for your future. Print this
> email only if it is absolutely necessary.
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to