Why we need Apache Camel in our application? [closed] - apache-camel

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I am beginner to apache camel, and i need some clarity in it.
Apache camel is an alternative for microservices? Or what is the advantage of this routing integration.
It has separate HTTP component but its configuration method looks like
from("route1").to("route2")
so how it works when one request arrives in camel application.
Kindly guide me to know the basics of it.

apache camel is an integration framework which helps you to connect many endpoints with different protocols together.There are lots of integrations for apache camel ready to use and no it is not an alternative to microservices but you can use it in microservice architecture.

Related

How to cache all backend in the Rails? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 months ago.
Improve this question
Is it possible to temporarily cache all requests in the Rails backend?
Sometimes it's helpful to make frontend stuff without waiting for the backend on the page to reload.
Your question is very ambiguous. If you don't want to wait on the backend for development then you can cache your requests on the front-end using local storage or other client-specific APIs.
On the other hand, if you need backend caching it won't really serve your purpose because the client will still need to make the API call.
Lastly, if you need to mock your APIs then there are multiple such tools available. One that I like is https://designer.mocky.io/

What is the recommend rest component for rest DSL [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
I am using fuse6.3 on EAP and FIS2.0 on ocp, the rest DSL has the following Camel components integrated with it:
Servlet component (camel-servlet).
Spark-Rest component (camel-spark-rest).
Netty HTTP component (camel-netty-http).
Netty4 HTTP component (camel-netty4-http).
Jetty component (camel-jetty).
Restlet component (camel-restlet).
There is detail description for the above components for reference, but we want to know, from the best practice, is there any high level guide on which could be the best choice?
Best regards
Lan
I use
choice
JBOSS Fuse 6.x,7.x
camel-netty4-http
Apache Camel 3.x
camel-netty-http
servlets
camel-servlet
component
note
camel-servlet
goes well with spring-boot with embedded tomcat
camel-spark
producer only
camel-jetty
consumer only
camel-restlet
deprecated and has been removed in camel 3.x
camel-netty-http
producer and consumer
Why did I choose netty? camel-netty-http is supported in future versions of Camel and it can be used as both producer and consumer.
https://camel.apache.org/components/latest/spark-component.html
https://camel.apache.org/components/latest/jetty-component.html
https://camel.apache.org/components/latest/netty-http-component.html
https://tomd.xyz/camel-rest/

Create a real chat application between 2 clients or more [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a web application that I have created with angularJS/Symfony2 and a mobile app with(ionic) I want to create a real chat application between this 2 clients.I thought to use nodeJS and websockets??I can have many clients conncted from their mobile
I have read many articles about firebase for angularJS and redis,but I don't know from where I will start
have you please any idea how can I do that
thanks a lot
The simplest way to start is check basic chat solution on NodeJs http://socket.io/get-started/chat/
Also as alternative you can use Rachet(WebSockets for PHP) http://socketo.me/ to get more closer integration with Symfony2
You can definetely use node and socket.io.
Start here:
http://socket.io/get-started/chat/
To integrate it with angular, you can use this module:
https://github.com/btford/angular-socket-io

Spring web flow and ExtJs 4 [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am not able to find a concrete answer yet on this forum or other's that, whether spring web flow can be used with Extjs 4.2 or later release of Extjs.
In case some one has integrated then kindly let me know the basic steps or guide to a specific example will be really helpful.
Thanks in Advance.
Rohit Dwivedi
The short answer is: "Yes".
Yes, because ExtJS does not need to (and does not) know how the server side is implemented. In its very essence, Ext sends a request to the server and expect a response, usually containing pertinent data.
In real life, you need to make decisions what part of the application logic will run on the server and what on the client and what the interface (API, request/response) will be between the two.
From the Spring site:
Spring Web Flow: Supports building web applications with controlled navigation such as checking in for a flight or applying for a loan.
So, if you want/need the server to be responsible for such flows, then go ahead.
If you want to implement the application logic (flows) at Ext client, then continue looking for the server side language/platform as you do not need the Web Flow functionality.

What web server to use with solr [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Am a beginner and wants to implement sorl for search with a mvc web application.
Witch web server is the fastest and most secure to use for sorl?
Jetty, tomcat?
Either is fine.
Solr uses Jetty to make the initial setup and configuration process easier and ships with it. But that does not mean that Jetty is a bad choice for production deployment. If your
The organization already has a standard Java web-application platform, then Solr will work
with it - Tomcat, weblogic, JBoss etc. But if you have some choice then use Jetty. It's fast,
stable, mature, and easy to administer and customize. In fact, Google uses Jetty for their
App Engine—see www.infoq.com/news/2009/08/google-chose-jetty/.
If you want to use Tomcat solr has steps to setup , its easy : http://wiki.apache.org/solr/SolrTomcat
So the answer depends, security, what your organization allows. Solr is a war file all it cares is for a Servlet Container.

Resources