Is there any way to configure the camel Mina component to select network interfaces? Currently my machine has 4 Ethernet cards installed.
No Apache Mina 1.x has no such configuration. We looked into this years ago. Maybe Mina 2.x has a way of doing this? As we plan to provide a camel-mina2 component.
Related
We are actually looking for Training's by Apache foundation on CAMEL framework. Any suggestions are greatly appreciated.
As far as I know, some of the main Camel developers are RedHat employees. RedHat also offers professional Camel support for enterprises.
Camel is part of the Fuse suite at RedHat, therefore you could check out the Camel trainings of RedHat. There is actually a Camel certification course.
I don't think the Apache foundation offers courses and trainings.
https://www.redhat.com/en/services/certification/rhcs-camel-development
A Red Hat Certified Specialist in Camel Development is able to create and maintain enterprise integration services based on Red Hat® Fuse, Camel, and APIs.
I am setting osgi-bluprint and apache camle project and I am wondering how we can integrate this two compoenent.
There are plenty of examples out of the box with Apache Camel.
See the OSGi / blueprint examples at:
https://github.com/apache/camel/tree/camel-2.x/examples#welcome-to-the-apache-camel-examples
This could be a good place to start.
http://camel.apache.org/using-osgi-blueprint-with-camel.html
It is a very common pattern to use OSGi-blueprint and Camel (with OSGi runtimes such as Apache Karaf) and there are plenty of examples out there.
We are trying to preserve TimeToLive/JMSExpiration in our messages during moving them from AMQ queue to IBM MQ Series queue, currently we use: jmsBridgeConnectors in AMQ to move the messages but the expiration is not preserved.
I know that AMQ suggests to rather use Camel instead of jmsBridgeConnectors to bridge AMQ to external messaging systems, but I have no experience with Camel.
Did anyone face similar issue and have some working solution, either with jmsBridgeConnectors or Camel?
Many thanks in advance
Best Regards
Lukasz
If you use Camel and its JMS component, then you can turn on preserveMessageQos which will then transfer the expiration detail. See more details in the Camel documentation (see the table of the option): http://camel.apache.org/jms
In terms of the JMS bridge, I assume you refer to the AMQ JMS bridge? http://activemq.apache.org/jms-to-jms-bridge.html - I am not sure if you can configure to keep the expiration or not. Others here at SO may know, or you can dive into the source code, or try to ask on the ActiveMQ user mailing list.
I use apache camel-cdi and wildfly 8.2. How to configurate thread pool for camel?
In documentation I only see config for spring, but I use java ee with wildfly
You can check Java DSL configuration to create a thread pool in Camel.
import org.apache.camel.spi.ExecutorServiceManager;
import org.apache.camel.spi.ThreadPoolProfile;
ExecutorServiceManager manager = context.getExecutorServiceManager();
ThreadPoolProfile defaultProfile = manager.getDefaultThreadPoolProfile();
// Now, customize the profile settings.
defaultProfile.setPoolSize(SomeSize);
defaultProfile.setMaxQueueSize(QueueSize);
This depends on your use case but you can definitely use thread pooling with Camel Java DSL. The format would be something like the below:
ExecutorService threadPool = Executors.newFixedThreadPool(20);
.split(body().tokenize("\n")).streaming().executorService(threadPool)
Individual components can also allow for individual threading (see file2 for example). If you have the Camel in Action book, chapter 10 is all about concurrency. It goes into threading and concurrency in much more detail.
In HPC we use often SLURM as workload manager. I would like to know if camel or jbpm-camel can to communicate to SLURM ?
I found apache spark but nothing about slurm.
I am interested by any documentation on this subjects.
Thanks for your help
This question is more about-- what API/RPC options are available for SLURM? If it is completely proprietary, than there probably isn't an available Camel component, but one could be put together using one of the low-level socket camel components, such as mina / netty / etc.