Cometd Component
The cometd: component is a transport for working with the jetty implementation of the cometd/bayeux protocol.
Using this component in combination with the dojo toolkit library it's possible to push Camel messages directly into the browser using an AJAX based mechanism.
URI format
cometd://host:port/channelname
The channelname represents a topic that can be subscribed by the Camel endpoints.
Examples
cometd://localhost:8080/service/mychannel cometds://localhost:8443/service/mychannel
where cometds represents an SSL configured endpoint.
Options
resourceBase=./target/test-classes/webapp&"
+ "timeout=240000&interval=0&maxInterval=30000&multiFrameInterval=1500&jsonCommented=true&logLevel=2
Name |
Default Value |
Description |
---|---|---|
resourceBase |
|
|
timeout |
240000 |
|
interval |
0 |
|
maxInterval |
30000 |
|
multiFrameInterval |
1500 |
|
jsonCommented |
true |
|
logLevel=2 |
|
|