we're looking for a tool to monitor our apache camel web apps. We have to use Websphere MQ. Does hawtio support WAS MQ? We haven't found any documentation about that.
Thanks,
Nick
hawtio has no plugin/support for WebSphere MQ as a message broker. However hawtio as a web console can be deploy and run on IBM platforms such as WebSphere App Server. The other plugins for Camel, JMX, and so on works on WebSphere.
It is possible to build custom plugins for hawtio so someone can step up and build a WebSphere MQ plugin.
Related
I am trying to deploy a jax-ws webservice on Websphere 8.5.5.12. I am using CXF as my jax-ws engine. I have gone through the prerequisites and changed the class loader as well as desabled the JaxWs engine in websphere. I have set the property to disable Jax-WS engine in the manifest file of my war file.
My application is a Spring boot application. I am also using apache camel 2.20.1 and using the cxf end point to consume the messages.
As a spring boot application my application is working fine.
When I deploy on Websphere my application starts without any issues. But when it intercepts any incoming requests, it throws class not found exception for javax.servlet.WriteListener class. This class is part of the servlet api. It should have been part of the Websphere j2ee library.
Need to know what I did wrong. I don't want to take the shared library route. I have been suggested, that I need to move all my cxf dependencies, into a shared library and set my class loader for this library. I am not comfortable with this solution.
javax.servlet.WriteListener is a Servlet 3.1 / Java EE7 API.
WebSphere Application Server 8.5.5 implements Servlet 3.0 / Java EE6.
You should use either WebSphere Application Server 9.0.0.x or any recent WebSphere Liberty release (which has been versioned differently for quite some time).
(or, remove the 3.1 dependencies from your app if you must run it on WebSphere Application Server 8.5.5)
We have few scheduled jobs implemented via apache camel routes & qaurtz scheduler. We are migrating our application to pivotal cloud foundry. Does Pivotal cloud foundry support apache camel routes?
Why not? They run in a java container. See my example running in spring boot with a cloud foundry manifest: https://github.com/amaline/camel-example.git
Cloud Foundry (CF) supports deployment of applications through so called build packs for different technologies. For example, if your application is running on JVM, you need to deploy it to CF with corresponding Java Build Pack.
One common way to deploy Camel routes to CF is to package Camel routes as Spring Boot Java apps and then deploy them to CF using Java build pack.
Does you have any experience with messaging on GAE? Is there a messaging framework that can successfully run on GAE? I know that Apache Camel provides some kind of components that can run on GAE but is it really usable? What about Spring Integration? Or any other tips?
Thank you.
You have some stuff (task queues) built into GAE for messaging. Start with that.
The problem with running stand alone integration soltuions (Camel, Spring Integration, ActiveMQ..) on GAE is that they need to open tcp listeners and start threads, which is not really an option in GAE. At least not the standard java way.
You can run Camel to some point if you want to leverage the Camel DSL and such things. But all of Camel will not work. Camel does not include a messaging solution either.
The other option is likely to use some external messaging source, such as a RabbitMQ or ActiveMQ hosted somewhere else. Like EC2 or some cloud service.
I dont want to use Axis2 or CXF with Camel. Is it possible to configure camel with JAX-WS reference implementation or weblogic application server or websphere application server or tomcat + jax-ws refrence implementation?
Camel provides 2 web services components out of the box: camel-cxf and camel-spring-ws. For any other web service integration just use plain java. From any Java code, you can send a message to Camel using the ProducerTemplate. Then that way you can bridge the JAX-WS of the application server with Camel. We used to have an old example at Apache Camel that showed how to integrate Axis 1.4 with Camel, but that examples has been removed as part of cleanup recently.
As far as I know that is not possible. The camel-axis and camel-cxf components are directly using the cxf and axis classes. You could use the SoapDataFormat but this is just for simple cases and not a full stack.
I am a dot net developer but yesterday I was asked to develop a Restful Web service using Java, I googled a lot and finally I am able to develop, run a "hello world" example using Eclipse+Jersey+Tomcat.
But I wonder how can I be able to deploy it on Apache Webserver,
Please send me a step by step guide considering me a newbie. Thanks
An Apache webserver does not support the execution of servlets (as e.g. Tomcat does). What you can do is run a Tomcat server and connect it to Apache by using a JK connector.