Principais perguntas e respostas de entrevista e testes online
Plataforma educacional para preparacao de entrevistas, testes online, tutoriais e pratica ao vivo

Desenvolva habilidades com trilhas de aprendizado focadas, simulados e conteudo pronto para entrevistas.

WithoutBook reune perguntas de entrevista por assunto, testes praticos online, tutoriais e guias comparativos em um unico espaco de aprendizado responsivo.

Preparar entrevista

Apache Camel perguntas e respostas de entrevista

Pergunta 6. What are endpoints in apache camel?

Camel supports the Message Endpoint pattern using the Endpoint interface. Endpoints are usually created by a Component and Endpoints are usually referred to in the DSL via their URIs.

Example:
file://inbox?sorter=#bean:mySpecialFileSorter

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 7. What are various components in apache camel? Which ones have you used?

Apache camel provides us with a number of components. These components make interacting create endpoints with which a system can interact with other external systems. For example using an ActiveMQ component we expose an ActiveMQ endpoint for interaction with external system. There are more than 100 components provided by Apache Camel. Some of them are FTP, JMX, Webservices, HTTP. Apache camel also allows users to create custom components. It also provides different connector components to interact with Cloud services (AWS/Azure etc).

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 8. How to make database calls using Apache Camel?

You can call database using apache camel component.

Maven dependency:
<dependency> 
      <groupId>mysql</groupId> 
     <artifactId>mysql-connector-java</artifactId> 
     <version>8.0.15</version> 
</dependency>

Coding example:
from(”debezium-mysql:dbz-test-1?offsetStorageFileName=/usr/offset-file-1.dat&databaseHostName=localhost&databaseUser=debezium&databasePassword=dbz&databaseServerName=my-app-connector&databaseHistoryFileName=/usr/history-file-1.dat”).log(”Event received from Debezium : ${body}”)

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 9. Have you used Apache Camel with Spring?

Yes. Have integrated Apache Camel with Spring. It helps in utilizing features like Spring Dependency injection, Datasource and Transaction management.

Maven dependencies to be used:

  1. <dependency>  
  2.     <groupId>org.apache.camel</groupId>  
  3.     <artifactId>camel-core</artifactId>  
  4.     <version>2.13.0</version>  
  5. </dependency>  
  6. <dependency>  
  7.     <groupId>org.apache.camel</groupId>  
  8.     <artifactId>camel-spring</artifactId>  
  9.     <version>2.13.0</version>  
  10. </dependency>  
 

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 10. How to expose a REST webservice endpoint using Apache Camel?

You can expose the REST webservice API endpoint using Apache camel  (JAX-RS or CXFRS).

  1. <dependency>  
  2.     <groupId>org.apache.camel</groupId>  
  3.     <artifactId>camel-cxf</artifactId>  
  4.     <version>2.12.0</version>  
  5. </dependency>  
 

Isto e util? Adicionar comentario Ver comentarios
 

Mais uteis segundo os usuarios:

Copyright © 2026, WithoutBook.