A little follow up. I moved away from the Import Bundle and just used Import-Packages. The problem seems to be in that the org.springframework.integration.adapter package exists in both the core and adapter jars.
So my bundle with the following context seems to start fine in S2AP.
However, when I add the following
<channel id="errorChannel" publish-subscribe="true" capacity="500"/>
<channel id="exampleChannel" capacity="100"/>
<endpoint input-channel="exampleChannel" handler-ref="exampleHandler"/>
I get this error now:
<file-source directory="C:/files/in" channel="exampleChannel" poll-period="5000"/>
Configuration problem: Cannot locate BeanDefinitionParser for element [file-source]
I run this stuff in a test case (non-OSGI) and it all works. So, is the same package in multiple bundles the root of my problem?