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.
Code:
<message-bus error-channel="errorChannel"/>
<channel id="errorChannel" publish-subscribe="true" capacity="500"/>
<channel id="exampleChannel" capacity="100"/>
<endpoint input-channel="exampleChannel" handler-ref="exampleHandler"/>
However, when I add the following
Code:
<file-source directory="C:/files/in" channel="exampleChannel" poll-period="5000"/>
I get this error now:
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?
Craig