Questions tagged [apache-servicemix]

Questions relating to the Apache Foundation's ServiceMix integration platform.

ServiceMix is an Apache foundation sponsored project, with commercial support provided by FuseSource

Apache ServiceMix is a flexible, open-source integration container that unifies the features and functionality of Apache ActiveMQ, Camel, CXF, Karaf into a powerful runtime platform you can use to build your own integrations solutions. It provides an enterprise ready ESB exclusively powered by OSGi.

655 questions
4
votes
1 answer

what's the scope of a static field?

I meet a problem in static field. I think the root cause must be the scope of the static field. The project is based on Apache servicemix and consists of many sub-projects. In sub-project 'A', I defined a static list field 'reg' in class…
Javen
  • 173
  • 3
  • 10
4
votes
2 answers

Hanging ActiveMQ Transport and Connection threads

I've got a Webservice deployed on Apache ServiceMix which uses Apache Camel to invoke an ActiveMQ driven route using code similar to the following: context.createProducerTemplate().sendBody("activemq:startComplex", xml); The invocation works fine…
3
votes
1 answer

How to set property values during testing for CamelSpringTestSupport based tests

Im creating a ServiceMix module that consists of a Camel route. In my beans.xml, I have:
Brimstedt
  • 3,020
  • 22
  • 32
3
votes
2 answers

How to make logback (a logging library) work with ServiceMix (Karaf + ops4j logging)

I am trying to make logback works with ServiceMix 4.3.0 (karaf 2.1.3) but not successful. Is there anybody already successfully make it work? (with any version of serviceMix + slf4j + logback) Here is my situation. I am able to make (Logback + slf4j…
David
  • 3,538
  • 9
  • 39
  • 50
3
votes
3 answers

How do you debug CXF endpoint publishing?

Given the "cxf-osgi" example from fuse source's apache-servicemix-4.4.1-fuse-00-08, built with maven 3.0.3, when deploying it to apache karaf 2.2.4 and CXF 2.4.3 the web service is never published and never visible to the CXF servlet…
chugadie
  • 2,786
  • 1
  • 24
  • 33
3
votes
2 answers

OSGi list, what are those headers?

I'm using Fuse ESB (ServiceMix) and I've been searching all over in the hope to find a better explanation of the various headers when running the command 'osgi:list'. Namely the two columns I want to understand are 'Blueprint' and 'Spring'. I have…
AndyF
  • 1,074
  • 1
  • 12
  • 19
3
votes
0 answers

In the context of ServiceMix/CXF, what does 'transport' mean?

I have identified a concept pervading many components and ServiceMix elements. The term is transport. I have seen it used when defining CXF endpoints mostly. See for example this thread post: how to build camel-cxf consumer with osgi You can read…
Ytsejammer
  • 1,384
  • 2
  • 13
  • 25
3
votes
1 answer

How should aspect weaving be limited to classes referenced by aop:advisor pointcuts?

I'm trying to trace execution of an app running on ServiceMix 3.2 which uses spring 2.5 under the hood. I'm using CGLIB (advising classes, not interfaces) and I would like to direct tracing using pointcuts. I therefore configured spring to perform…
Tomislav Nakic-Alfirevic
  • 10,017
  • 5
  • 38
  • 51
3
votes
1 answer

Apache Camel: URI Escaping in HTTP (and other Producers)

In an Apache Camel route, I want to take several headers and compose them into an HTTP query string in a safe way. The only examples I've found either use constant(), which isn't useful for building dynamic query strings, or they use simple() which…
TTar
  • 905
  • 1
  • 8
  • 12
3
votes
0 answers

Karaf, ServiceMix weird instanceof behaviour

The JAXB RI source code contains: public void setProperty(String name, Object value) throws PropertyException { if( PREFIX_MAPPER.equals(name) ) { if(!(value instanceof NamespacePrefixMapper)) throw new PropertyException( …
JasonPlutext
  • 15,352
  • 4
  • 44
  • 84
3
votes
1 answer

Monitoring Servicemix with Hyperic HQ

I have been able to configure Hyperic HQ to identify servicemix 4, however, It could only see the "ServiceMix 4.x Garbage Collector" service. I would like to be able to monitor activemq Queues, Endpoints, and Camel Applications (if possible) Has…
Lekkie
  • 355
  • 5
  • 18
3
votes
1 answer

Servicemix freezing while installing bundled features

The command: feature:install spring-jdbc/4.3.5.RELEASE_1 causes my Servicemix 7.0.1 instance to freeze indefinetely, whereas the same command (with lower feature version) works like a charm in Servicemix 5. Am I doing something wrong? Or is…
Mikel
  • 466
  • 3
  • 16
3
votes
1 answer

Trouble creating a simple REST service and apply routing via the blueprint.xml file. I want to do this without Spring... - only blueprint

Trying to create a simple REST service and apply routing via the blueprint.xml file. I want to do this without Spring... - only blueprint My attempts all end with the following exception: "java.lang.IllegalStateException: Cannot find…
sairn
  • 461
  • 3
  • 24
  • 58
3
votes
2 answers

Service Registry for Apache Camel Applications

A registry is a list of items with pointers for where to find the items, like the index on a database table or the card catalog for a library. Correct me if I am wrong, from this definition, what I'd expect from a camel application registry is where…
Lekkie
  • 355
  • 5
  • 18
3
votes
2 answers

Exit from Apache Camel loop

I want to exit from Camel Loop at some condition. I am using Camel 2.15 .loop(simple("${exchangeProperty.loopCount}")) .to("bean:xxx?method=exitFromLoop") .end() I tried changing CamelLoopIndex and CamelLoopSize in exitFromLoop method, but…
Honey Goyal
  • 445
  • 4
  • 22