camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Camel parameter binding annotations with osgi services
Date Tue, 06 Apr 2010 11:34:39 GMT
Hi

Please look at this page for support
http://camel.apache.org/support.html

It lists some bullets which information which is good to provide. Also
it suggest to try with latest release / SNAPSHOT etc.

Have you tried outside OSGi, eg in a simple JUnit test to see if it
works there etc.
OSGi is still maturing and it has _some_ problems.



On Mon, Apr 5, 2010 at 11:10 AM, capacman <achalil@gmail.com> wrote:
>
> Hi all, in my project i have a bundle which exposes an interface as a osgi
> service and another bundle consume this service and use it in a
> camelcontext as a bean. Interface is:
>
> public interface ExampleService {
>    // public methods go here...
>
>    String scramble(@Header(value = "user") String user, @Body String body,
> Exchange exchange, @Property(value = "CamelTimerName") String timerName);
> }
>
> (just ignore @Header annotation and @Body annotation since they have to be
> null in this case). Given service implementation always see timerName
> parameter as null. Could not we use those annotations with osgi services?
>
>
> --
> View this message in context: http://old.nabble.com/Camel-parameter-binding-annotations-with-osgi-services-tp28138255p28138255.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message