davsclaus commented on issue #921:
URL: https://github.com/apache/camel-karavan/issues/921#issuecomment-1742802224
And the YAML DSL
```
- route:
id: amqp-producer
from:
uri: netty-http
id: from-b4e7
parameters:
protocol: http
host: localhost:{{netty.port}}
path: message
steps:
- log:
message: got Netty request, about to send AMQP message.
id: log-69c1
- to:
uri: amqp
id: to-5fea
parameters:
destinationType: queue
destinationName: myqueue
- route:
id: amqp-consumer
from:
uri: amqp
id: from-d77e
parameters:
destinationType: queue
destinationName: myqueue
steps:
- log:
message: got AMQP request, about to respond.
id: log-44b2
- setBody:
expression:
simple:
expression: Hello from Camel's AMQP example
id: simple-05f4
id: setBody-1796
- beans:
- name: jmsConnectionFactory
properties:
remoteURI: amqp://localhost:5672
type: org.apache.qpid.jms.JmsConnectionFactory
- name: amqp
properties:
connectionFactory: '#bean:jmsConnectionFactory'
type: org.apache.camel.component.amqp.AMQPComponent
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]