Skip to content
This repository was archived by the owner on Jul 9, 2022. It is now read-only.

Http outbound gateway

olegz edited this page Mar 4, 2012 · 7 revisions

NOTE: Version 1.0.0.M1 of Sprint Integration Scala DSL provides initial and very basic support for HTTP Outbound Gateway which will be enhanced in subsequence milestones to allow for configuration adequate to its XML counterpart.

Continuation from HTTP Outbound Gateway could be expressed using '-->' operator.

HTTP Outbound Gateway

Root DSL element for HTTP Outbound Gateway is http

jms.listen(requestDestinationName = "myQueue", connectionFactory = connectionFactory) -->

As you can see from the above sample all that is needed to create a JMS Inbound Gateway is to invoke listen method providing Destination name and reference to a ConnectionFactory.

For simple testing with embedded ActiveMq broker we provide a utility class in the test package to create a ConnectionFactory

val connectionFactory = JmsDslTestUtils.localConnectionFactory

[Back to Inbound Adapters and Gateways] (https://github.com/SpringSource/spring-integration-scala/wiki/Inbound-adapters-and-gateways)

Clone this wiki locally