GithubHelp home page GithubHelp logo

bassista / advanced_camel_jms_component_config_example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from paoloantinori/advanced_camel_jms_component_config_example

0.0 1.0 0.0 11 KB

Java 100.00%

advanced_camel_jms_component_config_example's Introduction

Advanced Camel JMS Component Config Example

This example shows how to configure a custom class in camel-jms component, just providing the class and altering the dependency injection configuration.

To build this project use

mvn install

To deploy the project in OSGi. For example using Apache ServiceMix or Apache Karaf. You can run the following command from its shell:

osgi:install -s mvn:test/advanced_camel_jms_component_config_example/1.0

Sample log:

2017-08-31 16:21:06,499 | INFO  | l Console Thread | MyJmsBinding                     | 291 - advanced_camel_jms_component_config_example - 1.0.0 | _________ - MyJmsBinding Loaded - ___________
2017-08-31 16:21:06,507 | INFO  | nt Dispatcher: 1 | BlueprintCamelContext            | 233 - org.apache.camel.camel-blueprint - 2.17.0.redhat-630284 | Attempting to start Camel Context blueprint-bean-context
2017-08-31 16:21:06,507 | INFO  | nt Dispatcher: 1 | BlueprintCamelContext            | 231 - org.apache.camel.camel-core - 2.17.0.redhat-630284 | Apache Camel 2.17.0.redhat-630284 (CamelContext: blueprint-bean-context) is starting
2017-08-31 16:21:06,507 | INFO  | nt Dispatcher: 1 | ManagedManagementStrategy        | 231 - org.apache.camel.camel-core - 2.17.0.redhat-630284 | JMX is enabled
2017-08-31 16:21:06,521 | INFO  | nt Dispatcher: 1 | DefaultRuntimeEndpointRegistry   | 231 - org.apache.camel.camel-core - 2.17.0.redhat-630284 | Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000)
2017-08-31 16:21:06,548 | INFO  | nt Dispatcher: 1 | BlueprintCamelContext            | 231 - org.apache.camel.camel-core - 2.17.0.redhat-630284 | AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.
2017-08-31 16:21:06,548 | INFO  | nt Dispatcher: 1 | BlueprintCamelContext            | 231 - org.apache.camel.camel-core - 2.17.0.redhat-630284 | StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
2017-08-31 16:21:06,561 | INFO  | nt Dispatcher: 1 | BlueprintCamelContext            | 231 - org.apache.camel.camel-core - 2.17.0.redhat-630284 | Route: timerToLog started and consuming from: Endpoint[timer://foo?period=5000]
2017-08-31 16:21:06,561 | INFO  | nt Dispatcher: 1 | BlueprintCamelContext            | 231 - org.apache.camel.camel-core - 2.17.0.redhat-630284 | Total 1 routes, of which 1 are started.
2017-08-31 16:21:06,561 | INFO  | nt Dispatcher: 1 | BlueprintCamelContext            | 231 - org.apache.camel.camel-core - 2.17.0.redhat-630284 | Apache Camel 2.17.0.redhat-630284 (CamelContext: blueprint-bean-context) started in 0.054 seconds
2017-08-31 16:21:07,562 | INFO  | #4 - timer://foo | timerToLog                       | 231 - org.apache.camel.camel-core - 2.17.0.redhat-630284 | The message contains whatever
2017-08-31 16:21:07,570 | INFO  | #4 - timer://foo | MyJmsBinding                     | 291 - advanced_camel_jms_component_config_example - 1.0.0 | !!!!!!!!!!! - MyJmsBinding invoked - !!!!!!!!!!!!!!!!
2017-08-31 16:21:07,570 | INFO  | #4 - timer://foo | MyJmsBinding                     | 291 - advanced_camel_jms_component_config_example - 1.0.0 | !!!!!!!!!!! - MyJmsBinding invoked - !!!!!!!!!!!!!!!!
2017-08-31 16:21:12,562 | INFO  | #4 - timer://foo | timerToLog                       | 231 - org.apache.camel.camel-core - 2.17.0.redhat-630284 | The message contains whatever
2017-08-31 16:21:12,570 | INFO  | #4 - timer://foo | MyJmsBinding                     | 291 - advanced_camel_jms_component_config_example - 1.0.0 | !!!!!!!!!!! - MyJmsBinding invoked - !!!!!!!!!!!!!!!!
2017-08-31 16:21:12,570 | INFO  | #4 - timer://foo | MyJmsBinding                     | 291 - advanced_camel_jms_component_config_example - 1.0.0 | !!!!!!!!!!! - MyJmsBinding invoked - !!!!!!!!!!!!!!!!

advanced_camel_jms_component_config_example's People

Contributors

paoloantinori avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.