You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2016/04/20 07:44:25 UTC

[jira] [Created] (SMX4-1985) Hystrix bundle do not work

Claus Ibsen created SMX4-1985:
---------------------------------

             Summary: Hystrix bundle do not work
                 Key: SMX4-1985
                 URL: https://issues.apache.org/jira/browse/SMX4-1985
             Project: ServiceMix 4
          Issue Type: Task
          Components: Bundles
            Reporter: Claus Ibsen


You get a linkage error such as
{code}
Caused by: java.lang.LinkageError: rx/Observable
	at org.apache.camel.component.hystrix.processor.HystrixProcessor.process(HystrixProcessor.java:98)[61:org.apache.camel.camel-hystrix:2.18.0.SNAPSHOT]
{code}

It seems this bundle inline rx and that does not work when using this bundle when you also use rx, so you get this linkage error

{code}
Private-Package =
	com.netflix.config,
	com.netflix.config.jmx,
	com.netflix.config.samples,
	com.netflix.config.sources,
	com.netflix.config.util,
	rx,
	rx.annotations,
	rx.exceptions,
	rx.functions,
	rx.internal.operators,
	rx.internal.producers,
	rx.internal.schedulers,
	rx.internal.util,
	rx.internal.util.atomic,
	rx.internal.util.unsafe,
	rx.observables,
	rx.observers,
	rx.plugins,
	rx.schedulers,
	rx.singles,
	rx.subjects,
	rx.subscriptions
{code}

So it should be better if this bundle would import those rx packages.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)