On 06/10/2020 4:12 pm, Barry Kaplan wrote:
> > 'another layer'?
>
> This is my (muddy) understanding:
>
> If I connect two, eg http apps via skupper, the http will be wrapped in
> amqp messages across the clusters.
The http request is mapped to an AMQP message, which is then routed to
any receiver (e.g. an exposed http service on skupper).
> So I if connected two ampq apps (eg,
> a hono adapter on the edge to an amqp broker in the cloud), would the
> amqp protocol be wrapped in another layer of amqp across the clusters?
No, the amqp message will be transmitted as is, there is no need for
mapping in that case.
(You can in fact write a service that receives the amqp messages
representing http requests, and send back an amqp message in the right
format for a n http response and an http client using skupper would be
able to consume that service . Likewise you could send an amqp message
in the right format for an http request and have an actual skupper
exposed http service handle it).