Questions tagged [apache-servicemix]

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

apache-servicemix
Filter by
Sorted by
Tagged with
0 votes
0 answers
43 views

Unable to uninstall bundles on Apache services mix (Karaf)

When we are trying to uninstall any bundle on servicemix its throws below error but current hawtio version installed is 2.17.5 . Our current servicemix version is 7.0.1 and karaf version is 4.0.9 . ...
naveen's user avatar
  • 1
0 votes
0 answers
29 views

Create OSGI bundle from plain java maven project

I've got maven project (non Spring one), what should I change inside my pom.xml to build jar to be executable by SMX/OSGI container. I've used felix plugin for spring projects like this: <plugin&...
Maciej Kajetan Chrzanowski's user avatar
0 votes
0 answers
54 views

Camel-jms create connection to EMS / IBMMQ via servicemix Karaf

What I'm trying to do is making a connection to EMS and IBM MQ. So I've tried to get some knowledge from camel.apache.org and people.apache.org about camel-jms component and try to make a connection ...
Maciej Kajetan Chrzanowski's user avatar
0 votes
1 answer
176 views

Karaf How to implement changes to a bundle made in features.xml file without reinstalling

In my features.xml file I modified a custom bundle to use a Pax URL Wrap in order to dynamically Import dependencies. I changed the below line: <bundle start-level='78'>mvn:abc.def/aid/1.1</...
greenTea's user avatar
0 votes
1 answer
244 views

How to run Servicemix commands inside docker in Karaf console using deploy script?

Colleagues, it so happened that I am now using the servicemix 7.0 technology in one old project. There are several commands that I run manually. build image servicemix docker build --no-cache -t ...
Aleks R.'s user avatar
-1 votes
1 answer
71 views

How can I script an update to a servicemix system bundle using karaf's client.bat?

How can I script out a update to a servicemix system bundle using karaf's client.bat? When I try to run ./client.bat "update 111" -p <password> through powershell I get a java.lang....
greenTea's user avatar
0 votes
0 answers
93 views

Servicemix bundle breaks when upgrading to Java 8 v311

I am trying to upgrade the version of java being used on my machine from Java 8 v282 to Java 8 v311. When I do upgrade to 311 a servicemix bundle will no longer load correctly. The stack trace of when ...
greenTea's user avatar
0 votes
2 answers
331 views

Set the bundle version and start level when deploying camel route as XML in deploy folder of ServiceMix

When deploying bundle in the "deploy" folder in ServiceMix, I am wondering if it is possible to set the bundle version in the blueprint XML. Example of Camel route (blueprint xml): <...
рüффп's user avatar
  • 5,325
1 vote
1 answer
843 views

Why does Findbugs JSR305 break OSGi package export of javax.annotations in RedHat/JBoss Fuse 6.3.0?

We need FindBugs JSR305 as a dependency and we deploy it as a wrapped OSGi bundle to Fuse 6.3.0. At first it looks like everything is fine and the components are working well. But after a restart, ...
Yannick's user avatar
  • 683
0 votes
1 answer
568 views

How to install pax-jdbc-oracle feature in servicemix?

I could install the feature for mariadb factory. But I have a problems installing the feature for oracle factory in karaf/servicemix. I ran this: karaf> feature:repo-add mvn:org.ops4j.pax.jdbc/pax-...
NikoRoyal's user avatar
0 votes
1 answer
1k views

java.lang.AbstractMethodError: org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduitFactory.createConduit

I am getting error on below line final Client client = ClientProxy.getClient(port); final HTTPConduit httpConduit = (HTTPConduit) client.getConduit(); //error on this line ...
veer7's user avatar
  • 20.9k
0 votes
0 answers
2k views

Handle SocketTimeoutException in Apache Camel

I have a java application with Apache ServiceMix and Apache Camel. Here is my Camel Spring XML configuration: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="...
PiotrekM's user avatar
0 votes
2 answers
1k views

Karaf feature:install does nothing

I've downloaded ServiceMix 7.0.1 and followed the documentation. I need to install Camel features using: karaf@root>feature:install camel-sql But when I do that nothing happens. There's no ...
Sean's user avatar
  • 1,454
0 votes
1 answer
38 views

Cannot install Servicemix

I am trying to install servicemix, but I cannot get the result that is described in the documentation. I have installed JDK, and added to the environmental variables. Then downloaded the serviceMix ...
Edgar Navasardyan's user avatar
0 votes
1 answer
182 views

Create route in Apache ServiceMix Bundle:List state is Grace Period

I create a route on apache servicemix and put it in deploy. When the server started and I check the bundle:list it says that my route is in Grace Period and it's not working. Currently I'm routing ftp ...
Jasper's user avatar
  • 51
0 votes
0 answers
325 views

java.lang.IllegalArgumentException: Content-Type application/x-www-form-urlencoded is not valid when using multiparts, it must start with "multipart/"

code in processor: Response response = RestAssured.given().header("Content-Type", "application/x-www-form-urlencoded") .formParam("request", request1).request().post(url); url ...
Madasamy's user avatar
1 vote
0 answers
59 views

Is it possible to override apache-servicemix cxf.xml file?

I am using apache-servicemix and within it I have included karaf-cxf 3.1.13. Within the JAR file \META-INF\cxf\ is a cxf.xml file. I need to somehow override the parameters defined in this file for my ...
Milosh Charapikj's user avatar
0 votes
1 answer
312 views

How to send the original message to DLQ after processing

How can I customize the route so that the original message appears in dlq? Now if my server is unavailable, messages appear in dlq after processing, for example: the message with body “origin_message” ...
D. Batmanov's user avatar
0 votes
1 answer
222 views

XSLT 2.0 file from remote server is not being processed in blueprint camel route in ServiceMix

I am using ServiceMix 7.0.1 which is running Camel 2.16.5. I have a route which is sending a message to an XSLT 2.0 file on a different server for processing. Camel-Saxon feature has been installed. ...
Sneharghya Pathak's user avatar
0 votes
1 answer
164 views

Servicemix using Oracle ojdbc

I want to use jdbc directly in a project for service mix. I have tried to install ojdbc7.jar with bundle:install wrap:file:F:/tmp/ojdbc7.jar after starting I get 264 | Active | 80 | 0 ...
Hans's user avatar
  • 145
1 vote
0 answers
62 views

Servicemix 7 Hibernate 5 javax.persistence.PersistenceException: No Persistence provider for EntityManager

I am using Servicemix 7. I am trying to use JPA implemented by Hibernate in my project. I have installed hibernate-release-5.2.16 in Servicemix. META-INF/persistence.xml <?xml version="1.0" ...
Hans's user avatar
  • 145
0 votes
2 answers
795 views

Servicemix simple bundle missing requirement

Hello I am new to servicemix and cannot start a simple self-programmed bundle. My pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" ...
Hans's user avatar
  • 145
1 vote
1 answer
584 views

Servicemix 7.0.1 - cxf server start too slowly after migration

In the context of a migration from ServiceMix 5.1.4 (smx-5) to ServiceMix 7.0.1 (latest stable release) (smx-7) I can see a strange behaviour on my camel routes using the cxf:RsServer My Camel route ...
рüффп's user avatar
  • 5,325
0 votes
2 answers
163 views

How can I access the /etc of a pulled servicemix image

I need to install a custom bundle in a dockerized servicemix image. To do so, I need to paste some files in the /etc directory of the servicemix image. Could anyone help me doing this? I've tried ...
ZeSampaio's user avatar
3 votes
0 answers
192 views

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 ...
JasonPlutext's user avatar
  • 15.5k
0 votes
1 answer
444 views

NoClassDefFoundError: OsgiDefaultCamelContext using Apache ServiceMix

I created simple bundle: public class Activator implements BundleActivator { private CamelContext camelContext; private CsvDataFormat csv = new CsvDataFormat(); public void start(...
All_Safe's user avatar
  • 1,379
0 votes
3 answers
1k views

https4 apache camel gives Host name does not match the certificate subject provided by the peer

i am trying to set up a https connection with apache camel in Spring DSL. following this tutorial: https://access.redhat.com/documentation/en-us/red_hat_jboss_fuse/6.2/html/...
K.Til's user avatar
  • 13
1 vote
1 answer
982 views

adding options after query parameters apache camel spring DSL

I am trying to do a get request to the following url: http://hellostackexchange?mynameiskees.json the problem is that i don't see how i can add the option parameters after i have added the query ...
K.Til's user avatar
  • 13
1 vote
1 answer
622 views

I am trying to create a OSGI bundle using maven. I am not able to bundle the JARs properly

I get below exception.I am using servicemix to run the bundle. I think I am not importing and exporting the packages properly that is the reason I get class not found exception. My package structure ...
vishal jagdale's user avatar
2 votes
1 answer
1k views

How to fix: "Status: GracePeriod Blueprint Missing dependencies: (&(objectClass=org.apache.aries.blueprint.NamespaceHandler)"

I built a bundle using camel-archetype-blueprint. But after deploy to ServiceMix, it has not run and stayed in GracePeriod state. There is no errors in log:display. Calling bundle:diag results in: ...
J.Doe's user avatar
  • 21
1 vote
1 answer
5k views

How to handle errors after sending request(camel-http)?

I want to handle errors depending on the http code response. I would also like to know how to enable *throwExceptionOnFailure* on my route. For example, if the response code is 500x, send the message ...
D. Batmanov's user avatar
0 votes
1 answer
2k views

How to set HTTP Method dynamically from blueprint(Camel-http)

I use camel-apache companent camel-http. I'm trying to set the http method from my custom header. I use blueprint override process: exchange.getOut().setHeader("custom_http_method", "GET"); ...
D. Batmanov's user avatar
0 votes
1 answer
68 views

Error sending messages from jetty to the queue(use camel)

I use servicemix. I'm trying to send messages from jetty to the queue, but I get the following error: enter image description here my blueprint: <camelContext xmlns="http://camel.apache.org/schema/...
D. Batmanov's user avatar
0 votes
1 answer
1k views

Camel REST - Path based routing

I have to develop a Camel REST route with path-based routing. The scenario is as follows: we have a business partner which provided a REST web service for displaying documents. The REST web service is ...
user2006812's user avatar
1 vote
3 answers
820 views

Red Hat Fuse Quickstart app "Content Based Router - Java DSL" does not create "work" folder

Problem Red Hat Fuse Quickstart app "Content Based Router - Java DSL" template does not work. i.e., when built, run and deployed (to "Red Hat Fuse 7.1") the "work" folder is never created. Here is ...
sairn's user avatar
  • 458
0 votes
1 answer
559 views

Exception in servicemix while i try to make javax.ws.rs.core.Response

I hope on your help with that question. I use servicemix to work with my jar. With my dependency <dependency> <groupId>org.apache.cxf</groupId> <...
Dred's user avatar
  • 1,086
0 votes
1 answer
355 views

OSGI Blueprint Conditional Reference (ServiceMix)

I have two beans, b1 and b2, and a boolean property myFlag. Both b1 and b2 need to be constructed as they are used in different parts of the application. The class hierarchies of b1 and b2 are as ...
John Stone's user avatar
1 vote
1 answer
4k views

How to solve java.lang.NoClassDefFoundError: org/apache/camel/impl/DefaultComponent?

I want to test a camel-component, written by a colleague and me. It runs on Karaf and the following camel bundles are deployed: 80 │ Active │ 50 │ 2.17.1 │ camel-blueprint 81 │ Active │ ...
Yannick's user avatar
  • 683
0 votes
1 answer
63 views

Separate logs for ServiceMix features or bundles

I have a ServiceMix 7 instance configured to log for each bundle in its own log file. There are two problems I have noticed with this setup: Log events appear in both the bundle's log file as well as ...
Jubz's user avatar
  • 157
1 vote
1 answer
265 views

Does a camel component exist for using AWS SDK InitiateAuth?

We want to implement the authentication of an interface in apache-camel using AWS SDK InitiateAuth, where the AuthFlowType is USER_SRP_AUTH. Is there already a camel component? I found this list of ...
Yannick's user avatar
  • 683
0 votes
1 answer
39 views

Service mix update a webpage

I have the following problem: I have a queue with messages, and my goal is when a new message arrives, it should be transformed and update a webpage automatically. I have already implemented in ...
amachado's user avatar
  • 1,032
0 votes
1 answer
345 views

Felix Scr change log levels

I am using Apache ServiceMix 7.0.1 with Felix SCR. On startup, a number of my OSGI components are in Disabled / Unsatisfied state. In order to get some additional logs around the lifecycle of the ...
Praveen's user avatar
  • 106
0 votes
0 answers
743 views

Doubled tasks in Activiti process

I've got an Activiti code (Activiti 5.19 run with Camel on Servicemix) running in production and face some peculiar problem: sometimes I've got cases of doubled tasks in an execution (one of them is ...
Slavomir's user avatar
0 votes
1 answer
77 views

Where do I implement a converter in a camel component?

Me and my colleague want to develop a camel component that not only takes care of the connectivity, but also converts the standard xml and / or json formats into the necessary message format for the ...
Yannick's user avatar
  • 683
4 votes
1 answer
421 views

Changing version of cxf on Service Mix

I want to change the version of cxf on Service Mix 7.0.1 where cxf version is 3.1.9 . Because of using Brave tracing that is implemented in 3.1.12 version of cxf. So Is there a way to change the ...
xmlParser's user avatar
  • 1,943
0 votes
0 answers
54 views

How do I implement a POC with spring,apache cxf,maven and integrate with servicemix 7.0.1

I am new to service mix and any guidance is appreciated. I am trying to build a restful web service with Apache cxf and deploy it on service mix.
Saurodeep Sett's user avatar
0 votes
1 answer
187 views

Implementing Durable Subscription on ServiceMix

I currently am using ServiceMix to route messages using QPID libraries. My working config is below : <?xml version="1.0" encoding="UTF-8"?> <blueprint xmlns="http://www.osgi.org/xmlns/...
user avatar
4 votes
0 answers
448 views

How to generate a features.xml for Karaf that take into consideration the already available features

So I have some simple webservices done using Camel and Apache CXF to run on a JBoss Fuse 6.3 Karaf installation. I want to automatically generate a features.xml to reduce the risks of mistakes and ...
Nyamiou The Galeanthrope's user avatar
0 votes
1 answer
116 views

OSGI component not being picked up by SCR (ServiceMix)?

I am trying to create an OPS4J PAX config DataSource pre-hook to automate database structure integrity checking and updates via Liquibase. According to this tutorial, all I have to do is mark a ...
Modus Operandi's user avatar
0 votes
1 answer
250 views

Is it possible to deploy multiple bundles to ServiceMix that use Hibernate Envers?

We are attempting to deploy multiple bundles in ServiceMix 6.1.4 that each make updates to a database and we want those updates to be audited with Hibernate Envers 4.3.6.FINAL. We are in the proof-of-...
Charlie Horne's user avatar

1
2 3 4 5
13