[
https://issues.apache.org/jira/browse/FELIX-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984135#action_12984135
]
Valentin Mahrwald commented on FELIX-2546:
------------------------------------------
>From an Apache Aries point of view I would think that a greedy provisioning
>for multiple makes much more sense than not handling it at all. With this the
>application provisioner can implement any other policies on top.
@Guillaume: Are you aware of any existing applications that generate
multiple="true" elements but only expect (and can only handle) a single result?
I agree that there is some risk of breaking existing (incorrect I would say)
uses. But equally is there a risk that people will miss to switch on the flag
when they do want to use multiple="true" and loose significant amount of time
getting to the bottom of it?
Valentin
> Only one service is provisioned even when specifying for mulitple services
> --------------------------------------------------------------------------
>
> Key: FELIX-2546
> URL: https://issues.apache.org/jira/browse/FELIX-2546
> Project: Felix
> Issue Type: Bug
> Components: Bundle Repository (OBR)
> Affects Versions: bundlerepository-1.6.4
> Environment: n/a
> Reporter: Emily Jiang
> Attachments: Felix OBR isMultiple support - timothyjward.txt
>
>
> Felix OBR is unable to return multiple services when specifying 'multiple'
> attribute with the value of 'true'. The test scenario is detailed below.
> I am trying to get all bundles registering the service of
> com.sample.HelloWorld and install them into the osgi framework . In my test
> environment, there are two bundles with different symbolic name offering the
> same service, com.sample.HelloWorld. However, only one bundle was pulled into
> runtime. The snippet of my repository is shown below.
> <require extend="false"
> filter="(&(service=service)(objectClass=com.sample.HelloWorld)(mandatory:<*service))"
> multiple="true" name="service" optional="false">Requires service with
> attributes {service=service, objectClass=com.sample.HelloWorld}</require>
> Regards
> Emily
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.