There are multiple spring boot application working on the same server. On spring boot application A there is an apache camel route that has been stopped. On spring boot application B there is a service that after it finishes it needs to start the apache camel route in application A. Is it possible to achieve this?
Start an apache camel route from a different spring boot application
66 Views Asked by nikolakoco At
1
There are 1 best solutions below
Related Questions in SPRING-BOOT
- Multi Tenancy in Spring - Partitioned Data Approach
- I have created a spring boot application with spring data JPA, Rest ,oracle and i am getting this ORA-00933: SQL command not properly ended
- Springboot: How to get an entity optional property and check null?
- How to create jasper report in spring boot rest api with jpa
- JSON Body is Not Passing Certain Strings
- Unresolved reference error is showing up after adding the dgs codegen plugin successfully
- Transaction silently rolled back
- JPA buddy error when generating JPA Entities from DB
- Migrating Spring Boot 2 to 3 throws org.glassfish.jaxb.runtime.v2.runtime.IllegalAnnotationsException: 3 counts of IllegalAnnotationExceptions
- Hibernate SQL Error: Missing FROM-clause entry for table "th1_1"
- Appwrite and / or Spring Boot Backend
- Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. I'm using Postgresql
- Driver com.microsoft.sqlserver.jdbc.SQLServerDriver claims to not accept jdbcUrl, ${SPRING_DATASOURCE_URL}: GitHub Actions
- springboot class org.hibernate.mapping.Bag cannot be cast to class org.hibernate.mapping.SimpleValue
- Spring security causing 404 with message "No static resource login"
Related Questions in APACHE-CAMEL
- How to mock a dynamic endpoint in Apache Camel Spring Boot
- Not able to access route elements in test when using a camel filter
- Apache Camel - Why is Rest OpenAPI appending basePath twice
- A NullPointerException occurs in setupCamelContext method after Camel upgrade from 2.X to 3.2
- Exception attempting to get original in message in apache camel
- Apache camel Quartz start immediatly after application startup and then every hour
- How to delay preMove for each file detected using SFTP?
- Upgrade to Camel 4 causing CXF soap call to fail with "Received RST_STREAM: Stream cancelled"
- Why is apache/camel deleting files after processing
- How to set map in Camel kafka option params
- Consume webClient Flux<DataBuffer> directly by apache camel route
- How can I use apache camel bindy to convert java pojo to fixed length string that has a list attribute?
- Dynamically creating camel file routes
- Is Apache Camel typically deployed as a single application?
- How to check for delimiter in netty tcp connection. And what's the use of delimiter
Related Questions in IBM-MQ
- Problem with C# submitting file to IBM MQ Broker
- Put JMS message properties in IBM MQ queue and access from other JMS client which run on Websphere liberty
- pymqi connection calls fail in subprocesses on osx *and* the exception kills the python shell
- MQRC_Q_MGR_NAME_ERROR
- MQRC_KEY_REPOSITORY_ERROR appear when connect to remote queue server with SSL
- How to connect to multiple IBM queue connections having different QM, Host, Port from Java
- Exception while launching swagger for .net 6 API using IBM MQ
- ERROR: Process message with RFH2 header using python to IBM MQ
- Copy MQ segmentation enabled messages to multiple queues on IBM MQ 9.2.0.7
- Start an apache camel route from a different spring boot application
- How to get a IBM MQ message by Message ID using bash ? is there a tool available?
- How to set TLS Cipher TLS_RSA_WITH_AES_128_GCM_SHA256 on Windows 2016
- Spring boot upgarde issue come. Ibm. disthub2. Impl. Jms. TextMesaageImpl
- Exist some way to extract the correlation-Id property from of a MQ message using AMQP?
- IBM MQ not returning Correlation ID
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you have route you need to start from any external application or service you can expose a rest-api from your Application A with rest endpoint that will start the desired route when requested.
Not only will this allow you to signal Application A the route from another camel application like your Application B but from many other services as well. Since both applications are on the same server you can
restConfiguration().host("localhost")to limit connections to local ones.Documentation
Alternative would be to use message broker like ActiveMQ artemis to pass messages between different applications using jms.
I generally would avoid any solutions where one would enable disabled routes. Not only are those messy to implement but also very inflexible and hard to test. With Apache camel you'd probably need use JMX to enable disabled routes.