jbossfuse

How to connect to my MQTT Broker in Openshift

…衆ロ難τιáo~ 提交于 2019-12-08 05:44:36
问题 Following these two tutorials (https://www.anavi.org/article/182/ and http://wei-meilin.blogspot.tw/2014/05/red-hat-openshift-xpaas-simple-mqtt.html) I have installed a MQTT Broker using JBoss Fuse. Although my mqtt-container disappears after a while (I don't know why) I can make a port-forwarding and test the broker. But I would like to know how to connect directly to the broker. Do you know how to do it? I have tried this tutorial (http://training.runcloudrun.com/advanced/16-Network-and

How to connect to my MQTT Broker in Openshift

半城伤御伤魂 提交于 2019-12-06 15:20:18
Following these two tutorials ( https://www.anavi.org/article/182/ and http://wei-meilin.blogspot.tw/2014/05/red-hat-openshift-xpaas-simple-mqtt.html ) I have installed a MQTT Broker using JBoss Fuse. Although my mqtt-container disappears after a while (I don't know why) I can make a port-forwarding and test the broker. But I would like to know how to connect directly to the broker. Do you know how to do it? I have tried this tutorial ( http://training.runcloudrun.com/advanced/16-Network-and-Protocols.md.html - AMQ Example) but I don't have access to "/var/lib/openshift/.httpd.d/sniproxy.cfg"

Apache camel:bindy illegal argument exception

非 Y 不嫁゛ 提交于 2019-12-06 14:12:28
I am doing data format conversion between POJO to CSV and vice versa. In this while converting CSV to Object file(Unmarshalling) i am getting illegal argument exception for int data type. Only for string its working fine. Below is my POJO @CsvRecord(separator="//|",crlf="UNIX",generateHeaderColumns=false) public class EmployeeVO implements Serializable{ private static final long serialVersionUID = -663135747565879908L; @DataField(pos=1) private String name; @DataField(pos=3) private Integer age; @DataField(pos=2) private String grade; // getter setter } csv data sumit|4th standrad|22 the above

OSGI Bundle Error - ojdbc6.jar

走远了吗. 提交于 2019-12-06 12:19:09
问题 I am trying to convert my ojdbc6.jar into a bundle as mentioned in the steps here http://fusesource.com/docs/esb/4.2/deploy_osgi/DeployJar-Convert.html Unfortunately I am getting an error as below. Kindly help One error 1 : Unresolved references to [com.sun.security.auth.module, javax.resource, java x.resource.spi, javax.resource.spi.endpoint, javax.resource.spi.security, oracle .i18n.text, oracle.i18n.text.converter, oracle.ons, oracle.security.pki] by clas s(es) on the Bundle-Classpath[Jar

Can't download CXF artifacts on JBossFuse running on OpenShift

巧了我就是萌 提交于 2019-12-05 05:50:04
问题 I have a JBoss Fuse running on OpenShift Online and I want to deploy there a Camel-CXF application. I created a profile and attached it to a running container. When I added a feature-camel parent to this profile, the container was successfully restarted, but then I tried to add feature-cxf the container failed with the following errors: io.fabric8.agent.utils.MultiException: Error while downloading artifacts java.util.zip.ZipException: zip file is empty When I tried to add any features

Configuring database connection in Jboss FUSE

白昼怎懂夜的黑 提交于 2019-12-04 21:47:11
One way I know to configure DB in JBOSS FUSE is to use blueprint.xml. Below configuration in blueprint.xml works <bean id="gemsDataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver" /> <property name="url" value="${gems_url}" /> <property name="username" value="${gems_username}" /> <property name="password" value="${gems_password}" /> <property name="maxIdle" value="5" /> <property name="minIdle" value="1" /> <property name="initialSize" value="1" /> </bean> However, Is there any way to

OSGI Bundle Error - ojdbc6.jar

廉价感情. 提交于 2019-12-04 19:54:38
I am trying to convert my ojdbc6.jar into a bundle as mentioned in the steps here http://fusesource.com/docs/esb/4.2/deploy_osgi/DeployJar-Convert.html Unfortunately I am getting an error as below. Kindly help One error 1 : Unresolved references to [com.sun.security.auth.module, javax.resource, java x.resource.spi, javax.resource.spi.endpoint, javax.resource.spi.security, oracle .i18n.text, oracle.i18n.text.converter, oracle.ons, oracle.security.pki] by clas s(es) on the Bundle-Classpath[Jar:OJDBC_PLUGIIN_1.0.0.jar]: [oracle/jdbc/connect or/OracleResourceAdapter.class, oracle/jdbc/pool

Servicemix 4, DOSGi, and Zookeeper

孤街浪徒 提交于 2019-12-04 15:48:27
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-singlebundle-distribution-1.1-SNAPSHOT.jar for zookeepr discovery. Then when I start the sample bundles with

Can't download CXF artifacts on JBossFuse running on OpenShift

你离开我真会死。 提交于 2019-12-03 20:13:06
I have a JBoss Fuse running on OpenShift Online and I want to deploy there a Camel-CXF application. I created a profile and attached it to a running container. When I added a feature-camel parent to this profile, the container was successfully restarted, but then I tried to add feature-cxf the container failed with the following errors: io.fabric8.agent.utils.MultiException: Error while downloading artifacts java.util.zip.ZipException: zip file is empty When I tried to add any features related to cxf I had the same errors. What can be the problem and how can it be resolved? Thanks, Anton 来源:

How to update camel properties externally?

ε祈祈猫儿з 提交于 2019-12-02 10:12:01
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? Update: Exemple of use case:when a remote server doesn't return response, we keep sending messages until we