jbossfuse

Fuse 6.3 dbcp basic datasource

守給你的承諾、 提交于 2020-01-01 19:56:50
问题 I am not able to get dbcp2 working in JBoss fuse 6.3. The code given below works fine in Fuse container. <bean id="oracleDSTest" class="oracle.jdbc.pool.OracleDataSource" destroy-method="close"> <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver" /> <property name="url" value="jdbc:oracle:thin:@127.0.0.1:1521:XE" /> <property name="username" value="hr" /> <property name="password" value="hr" /> <property name="maxIdle" value="5" /> <property name="minIdle" value="1" />

How to reload a properties file in Apache Camel 2.12?

青春壹個敷衍的年華 提交于 2019-12-25 06:58:15
问题 I want to do two things: Load a properties into a bean and update the bean when properties is updated. I use JBoss Fuse 6.1 where to install my application bundle and have a properties file on the server where I need to read some configuration. The properties have the follow line: mediaTypeList=JSON,DOCX,TXT And I have a Java Bean that is a mirror of the file property: public class MediatType { private List<String> mediaTypeList; // GETTERs and SETTERs } The property mediaTypeList indicate

Get visual documentation from camel routes in Java?

Deadly 提交于 2019-12-23 16:09:20
问题 I'm new to apache camel and made some routes working properly via Java DSL. Now I'm wondering if there is a chance to get automatic a visual representation of these routes with JBoss Fuse? I mean not by drawing it by hand again, more for automatic documention :-) Edit: Since a downvote seems to be easier than a answer I try to rephrase my question a bit. I'm looking for a possibility to reverse engineer my defined routes (Java) and get a picture with boxes out of it. Hawtoi, what I tried

What is the difference between Apache Camel and JBoss Fuse?

扶醉桌前 提交于 2019-12-22 03:50:59
问题 What is the difference between JBoss Fuse and Apache camel? How can it be used in building micro service based applications? 回答1: Apache Camel is a versatile open-source integration framework based on known Enterprise Integration Patterns. Camel empowers you to define routing and mediation rules in a variety of domain-specific languages, including a Java-based Fluent API, Spring or Blueprint XML Configuration files, and a Scala DSL. So From this definition you can conclude that Apache Camel

How to update camel properties externally?

匆匆过客 提交于 2019-12-20 06:25:49
问题 Im developping non OSGI app and i need to update the values ​​of some properties used in camel routes (loaded BridgePropertyPlaceHolder). So I thought: To use Hawtio, the cool mangement console, in order update camel using JMX Create a JMX MBean that will update the properties .. I successfully create the MBean operations and call them using JMX, but I can't figure out how to update the camel routes that depends on these properties. Is there a way to update the camel context externally?

Servicemix 4, DOSGi, and Zookeeper

萝らか妹 提交于 2019-12-13 12:14:52
问题 This is cross posted from the fusesource forum and the servicemmix forum. I can't get DOSGi working in FUSE. I'm trying to get CXF's DOSGi 1.1-SNAPSHOT with Zookeeper discovery onto FUSE 4.1.0.2. I'm also using Zookeepr 3.2.1. Everything works perfectly on Felix 2.0.0. I just follow the instructions on the DOSGi Discovery page and then install the Discovery Demo bundles. For DOSGi, I just use the cxf-dosgi-ri-singlebundle-distribution-1.1-SNAPSHOT.jar for DSW and cxf-dosgi-ri-discovery

How to do BPEL,BPM deployment in JBoss AS7/EAP

佐手、 提交于 2019-12-13 07:29:00
问题 Jboss says to deploy BPEL applications in Either EAP or AS7 servers. I could nt deploy BPEL applications in Any of those servers. When searched in google, Some posts says Switchyard is better to use for BPEL or BPM applications and its been aquired by JBoss and release by JBoss as JBossFuse. I tried JBossFuse as well, JBossFuse cannot detect BPEL or BPM applications either through Eclipse. I have tried WSO2 and it was better than JBoss servers. I would like to use JBoss stack of products as

Reading enviroment variable in osgi blueprint

谁都会走 提交于 2019-12-13 06:07:02
问题 I'm building some camel routes deployed in OSGi (JBoss Fuse) I'm reading my properties file using this: <ext:property-placeholder id="propiedades"> <ext:location>file:/C:/TestBed/sucursal.propiedades</ext:location> </ext:property-placeholder> But now I want change "file:/C:TestBed/" for some placeholder with some path (like KARAF_ETC). I know this enviroment variable exists because when I use it in the route, it works ok from(URI_IN) .log("{{env:KARAF_ETC}}") //Output is: C:\jboss-fuse-6.2.0

dev:watch does not reload bundles on JBoss Fuse 6.3.0

人走茶凉 提交于 2019-12-12 18:43:01
问题 I am porting my code from JBoss Fuse 6.2.1 to JBoss Fuse 6.3.0. On my development environment I used Maven to build -SNAPSHOTS of my Java projects, and have them automatically deployed using dev:watch command. I installed my bundle with install mvn:my.groupid/my-artifactid/version-SNAPSHOT and then dev:watch ID . Following mvn install builds do not get automatically loaded inside JBoss Fuse, no messages in any log. What could be the cause? 回答1: A default configuration has changed between

Fuse dead after restart

一个人想着一个人 提交于 2019-12-11 18:28:14
问题 I rebuilt my docker with Fuse (Red Hat Fuse (7.0.0.fuse-000191-redhat-1) ) on Centos 7, and everything is broken now. I didn't change anything. Could a yum update cause this? Exception caught while executing command org.osgi.service.resolver.ResolutionException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=jline; type=karaf.feature; version="[3.6.2,3.6.2]"; filter:="(&(osgi.identity=jline) (type=karaf.feature)(version>=3.6.2)(version<=3.6.2))" [caused by: