tag:blogger.com,1999:blog-284240372678709986.comments2022-12-01T19:39:24.803-08:00Initek Consulting - San Diego, CABen ODayhttp://www.blogger.com/profile/02462610652603338525noreply@blogger.comBlogger54125tag:blogger.com,1999:blog-284240372678709986.post-6275145581934861812017-11-02T09:52:23.709-07:002017-11-02T09:52:23.709-07:00Done - thank you for your reply, Ben.Done - thank you for your reply, Ben.Anonymoushttps://www.blogger.com/profile/17115703801940286279noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-70070615057966555542017-11-01T23:24:01.327-07:002017-11-01T23:24:01.327-07:00yep, I'm still around...that said, I'd nee...yep, I'm still around...that said, I'd need more details to help...I recommend posting this question (with more details) on Stackoverflow and you should get a quick response from someone in the Camel community...thanksBen ODayhttps://www.blogger.com/profile/02462610652603338525noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-13977131418113533562017-11-01T15:29:41.779-07:002017-11-01T15:29:41.779-07:00(hoping you're still listening to this 5 years...(hoping you're still listening to this 5 years later...)<br />I'm developing a custom component with just a producer. My custom component configures some additional routes that it uses. I can see in Camel debugging output that the routes are being configured but are apparently not started - an Exchange sent to one of them just hangs. This is how I add the routes from my component:<br /><br /> @Override<br /> public void onCamelContextStarted(CamelContext context, boolean alreadyStarted) throws Exception {<br /> if (!alreadyStarted) {<br /> context.setUseMDCLogging(true);<br /> context.addRoutes(context.getInjector().newInstance(MyOtherRoutes.class));<br /> }<br /> }<br />Anonymoushttps://www.blogger.com/profile/17115703801940286279noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-65059230019487573142014-08-14T01:48:34.403-07:002014-08-14T01:48:34.403-07:00I also faced same issue today. The solution is to ...I also faced same issue today. The solution is to add below dependency in POM. This should be ideally mentioned in article since visitors are expected to new and not knowing this. <br /><br /><br /> org.apache.cxf<br /> cxf-rt-transports-http<br /> ${cxf-version}<br /> test<br /> <br /> <br /> org.apache.cxf<br /> cxf-rt-transports-http-jetty<br /> ${cxf-version}<br /> test<br /> Yogesh Mahajanhttps://www.blogger.com/profile/00090708703603540946noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-34686001591318898082014-07-03T06:00:57.754-07:002014-07-03T06:00:57.754-07:00Hi Ben!
I couldn't join the presentation at Ap...Hi Ben!<br />I couldn't join the presentation at Apache Con, so I enjoy it now...<br /><br />Best,<br />ChristianChristian Muellerhttps://www.blogger.com/profile/15937442820564689792noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-85729317389091652862014-02-20T06:52:15.277-08:002014-02-20T06:52:15.277-08:00Thanks for the update on this. I was running into ...Thanks for the update on this. I was running into the same issue and that fixed it. Much appreciated.Anonymoushttps://www.blogger.com/profile/11853073791738023486noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-17598640267500412342013-11-11T01:55:42.069-08:002013-11-11T01:55:42.069-08:00hi ben
i got the answer.ObjectName activeMQ = new...hi ben <br />i got the answer.ObjectName activeMQ = new ObjectName("org.apache.activemq:BrokerName=localhost,Type=Broker"); in this BrokerName 'B' sould be small 'b' i.e brokerName same for "Type" will be "type". otherwise it will give "instancenotfoundexception".Anonymoushttps://www.blogger.com/profile/16475667763530409101noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-76031152848112152092013-11-11T00:18:14.402-08:002013-11-11T00:18:14.402-08:00Hii Ben,Lwin
i am trying this example, i got one e...Hii Ben,Lwin<br />i am trying this example, i got one exception like lwin got before but i resolve by change the config file createConnector="true". then i got one exception like "InstanceNotFoundException" : org.apache.activemq:Type=Broker,BrokerName=localhost.i changed in config file useJmx="true".but still i'm not able to resolve it. version-activemq 5.8.0Anonymoushttps://www.blogger.com/profile/16475667763530409101noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-15956874863838920452013-11-05T15:25:34.843-08:002013-11-05T15:25:34.843-08:00Camel Web Console is not to be used anymore The we...Camel Web Console is not to be used anymore The web console module from Apache Camel distribution is deprecated and will be removed from Camel 3.0 onwards.<br />Instead we encourage users to look at some of the alternative console projects, which some are listed in the bottom of this page.<br /><br />I have been using the HawtIO console and it is looking good. Lets see when it goes into production.Namphibianhttps://www.blogger.com/profile/11355010254242422694noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-38337178531670220552013-07-16T00:28:14.713-07:002013-07-16T00:28:14.713-07:00Here is my blog post about monitoring alternatives...Here is my blog post about monitoring alternatives for Apache Camel: <br /><br />http://www.kai-waehner.de/blog/2013/07/15/apache-camel-and-talend-esb-management-and-monitoring-of-integration-routes-and-soap-rest-web-services-jmx-osgi-logstash-elasticsearch-kibana-hawtio<br /><br />My favorite is Kibana, a great open source project for creating dashboards based on log files.Kai Wähnerhttps://www.blogger.com/profile/17068174875342008383noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-74466153863312669992013-02-19T02:57:21.784-08:002013-02-19T02:57:21.784-08:00Useful stuff! For testing I'm parsing the spri...Useful stuff! For testing I'm parsing the spring xml file and replacing the reference to the osgix property loader with the regular spring property loader:<br /><br />http://hedleyproctor.com/2013/02/testing-camel-routes-with-spring-osgi-properties/Hedley Proctorhttps://www.blogger.com/profile/00671524026580662958noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-22813407024990285742013-01-25T12:42:43.454-08:002013-01-25T12:42:43.454-08:00Hi,
Can you share the spring config and log4j conf...Hi,<br />Can you share the spring config and log4j config for "PerfInterceptor".<br />I am trying ti replicate it and somehow the "PerfInterceptor" is not picked up for logging<br />KesavRameshhttps://www.blogger.com/profile/01894230485872143612noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-75585752608773045252012-11-20T00:11:36.666-08:002012-11-20T00:11:36.666-08:00Hi Ben,
I have successfully made the program run....Hi Ben,<br /><br />I have successfully made the program run. I did not know that activemq is hosting jmx server itself. Thanks for sharing knowledge. <br /><br />LwinLwin Htoo Kohttps://www.blogger.com/profile/06155685903948662819noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-6459165472413596592012-11-19T23:31:45.911-08:002012-11-19T23:31:45.911-08:00Hi Ben,
I am trying your example, and always ends ...Hi Ben,<br />I am trying your example, and always ends up with "java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: jmxrmi" . I think I don't have JMX server running. How/where to run JMX server? Do I need to create JMX server?Lwin Htoo Kohttps://www.blogger.com/profile/06155685903948662819noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-74512181314047115222012-08-02T19:59:43.819-07:002012-08-02T19:59:43.819-07:00Antonio, I'm not sure what you are trying to d...Antonio, I'm not sure what you are trying to do exactly...but you can deploy a custom camel component into OSGI and reference it from another bundle...I just tested this with karaf 2.2.8. That said, I had to explicitly register it with the camel context (as mentioned in my previous comment). what I meant by "packaged with camel" is components that are part of the distribution already (see http://camel.apache.org/components.html)...they don't need to be explicitly registered with the context.<br /><br />Otherwise, you might want to take a look at this camel-activiti component: https://github.com/mproch/camel-activiti for examples or to use instead of your custom component...<br /><br />good luck...Ben ODayhttps://www.blogger.com/profile/02462610652603338525noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-87758713528418565892012-08-02T19:46:18.815-07:002012-08-02T19:46:18.815-07:00I have a doubt I should build the component and de...I have a doubt I should build the component and deploy it as an OSGi bundle, then refer to it as a camel route on another application? This is the way I have been doing.<br />There is any known limitation on integrating Activiti 5.9 with Servicemix 4.3.0? ...because I start to doubt if Apache Camel has the same functionality as Servicemix-Camel or vice versa, which should be the same. <br />What do you mean with pack the component with Camel?<br /><br />I created the component and them I edited with codes of a integration example between Apache Camel and Activiti, <br /><br />auto discover located in: resources/META-INF/services/org/apache/camel/component class=org.apache.camel.component.ActivitiComponent <br /><br />the camel-context file:Antonio Paunde Juniorhttps://www.blogger.com/profile/11969644462989704567noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-7467144513122769832012-08-02T09:08:48.530-07:002012-08-02T09:08:48.530-07:00Antonio, I see your point, autodiscovery should wo...Antonio, I see your point, autodiscovery should work in OSGi as well. I'll poke around a bit, but I imagine its because your new component's bundle manifest isn't setup properly...<br /><br />In the meantime, just add this to your application to make sure the new component is registered/available to your route...<br /><br />in Java - context.addComponent("foo", new FooComponent(context));<br />in Spring - <bean id="helloworld" class="com.test.helloworldComponent"/>Ben ODayhttps://www.blogger.com/profile/02462610652603338525noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-75421528849652993562012-08-02T06:11:26.633-07:002012-08-02T06:11:26.633-07:00I did not get when you say package with Camel. You...I did not get when you say package with Camel. You mean package both project in the in the bundle and instal it?<br />I used the auto discover technique on the installed component, as you example shows.<br />Sorry I am new in Apache Camel so could you give me more tips on how to do it.<br />Thank you for your attention!!!Antonio Paunde Juniorhttps://www.blogger.com/profile/11969644462989704567noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-12933130921694470372012-08-01T14:27:59.488-07:002012-08-01T14:27:59.488-07:00because your component isn't packaged with Cam...because your component isn't packaged with Camel, you also need to explicitly register your component with the CamelContext:<br /><br />CamelContext context = new DefaultCamelContext();<br />context.addComponent("foo", new FooComponent(context));Ben ODayhttps://www.blogger.com/profile/02462610652603338525noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-70988378199102050432012-08-01T14:23:58.485-07:002012-08-01T14:23:58.485-07:00Thank you I was able to install the bundle.
My pur...Thank you I was able to install the bundle.<br />My purpose is to call the created component from Servicemix-camel route component as described below, but after I install the bundle when I try to deploy the project where I have the route it through a error:<br /><br />No component found with scheme: activiti<br /><br />What could be the error?Antonio Paunde Juniorhttps://www.blogger.com/profile/11969644462989704567noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-48014810341988804922012-07-30T21:39:21.082-07:002012-07-30T21:39:21.082-07:00you should just be able to install your new compon...you should just be able to install your new component as an OSGi bundle using 'osgi:install -s mvn://'Ben ODayhttps://www.blogger.com/profile/02462610652603338525noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-12362938268290911052012-07-27T15:42:27.973-07:002012-07-27T15:42:27.973-07:00I created a new component which should connect Act...I created a new component which should connect Activiti with Servicemix 4.3.0 using the mvn archetype as your example shows, I would like to know I can I deploy it in Servicemix, I mean create a SU and pack inside a SA, could you help meAntonio Paunde Juniorhttps://www.blogger.com/profile/11969644462989704567noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-20228060236215528222012-07-20T12:10:17.045-07:002012-07-20T12:10:17.045-07:00I have a minimal set always running (+/- url)
and...I have a minimal set always running (+/- url) <br />and 'red button' to enable more details (spring aop methods)<br />another 'ultra red button' to enable sql.<br /><br />From the minimal set I'm injecting some statistics in nagios and splunk.<br /><br />For our end-users it's nearly invisible a few ms for a complete transaction.<br />I enable it for a complete day often after a release just to take the temperature or in case we missed a required index or see if something looks "slower" than it used to. <br /><br />The main drawback in my production environment is the memory consumption because some sql are not reused (create table temp001,create table temp002,...)<br />so they "stack" into memory. I've a cron job in jenkins that reset periodically through the jamon jsp. The same kind of issue is observable if you enable the jamon servlet filter and you have rest url (/user/123.json,...)Stéphan Mestachhttps://www.blogger.com/profile/14111459876234370775noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-59397479587564416412012-07-05T14:28:55.922-07:002012-07-05T14:28:55.922-07:00thanks Sam, I'll take a look at camelwatch...i...thanks Sam, I'll take a look at camelwatch...it looks similar to what I built for a client a few years backBen ODayhttps://www.blogger.com/profile/02462610652603338525noreply@blogger.comtag:blogger.com,1999:blog-284240372678709986.post-63161221589134239582012-07-02T05:50:51.123-07:002012-07-02T05:50:51.123-07:00Just seen this article on DZone. You should also c...Just seen this article on DZone. You should also check out https://github.com/sksamuel/camelwatch which is a camel feedback system we use at ecb.co.uk (heavily camel based for stats) that I've just open sourced.Samhttps://www.blogger.com/profile/16665515872528966838noreply@blogger.com