【Apache 之Synapse 介绍】

Apache Synapse is a lightweight and high-performance Enterprise Service Bus (ESB). Powered by a fast and asynchronous mediation engine, Apache Synapse provides exceptional support for XML, Web Services and REST. In addition to XML and SOAP, Apache Synapse supports several other content interchange formats, such as plain text, binary, Hessian and JSON. The wide range of transport adapters available for Synapse, enables it to communicate over many application and transport layer protocols. As of now, Apache Synapse supports HTTP/S, Mail (POP3, IMAP, SMTP), JMS, TCP, UDP, VFS, SMS, XMPP and FIX.

ynapse 是一个简单的 XML 和 Web 服务管理与集成代理,可用于构成 SOA 和企业服务总线(ESB)的基础。Synapse 最近刚刚由 Apache 孵化器“孵化”完成,现在是 Web 服务项目中一项成熟的 Apache 活动,并且是非常成功的 Apache Axis2 项目的一个分支。它提供了中介、管理、以及在各种不同的应用程序之间转换 XML 消息的能力。

Key Features

1)Proxy services - facilitating transport, interface (WSDL/Schema/Policy), message format (SOAP 1.1/1.2, POX/REST, Text, Binary), QoS (WS-Addressing/ WS-Security/WS-RM) and optimization switching (MTOM/SwA)

2)Non-blocking HTTP/S transports for fast HTTP interactions and support for thousands of concurrent connections

3)VFS transport for file manipulation and interaction with FTP, SFTP, CIFS and WEBDAV

4)JMS support for binary, plain text, XML and SOAP payloads

5)Mail transport with extensive support for POP3, IMAP and SMTP

6)Support for industry driven Financial Information eXchange (FIX) protocol

7)Built-in Registry/Repository, facilitating dynamic reloading of the configuration and associated resources (e.g. XSLTs, XSD, JS, ..)

8)Built-in support for scheduling tasks using the Quartz scheduler

9)Load-balancing (with or without sticky sessions) and fail-over routing

10)Support for many Web Services standards including WS-Addressing, WS-Security and WS-Reliable Messaging

12)Policy based message throttling and caching (with special support for clustered environments)

13)Message splitting and aggregation

14)Database lookup and update support with database connection pooling

15)Fine grained statistics collection over sequences, endpoints and proxy services

16)JMX monitoring and management

17)Easily extendable with Java, Spring, or BSF Scripting languages (Javascript, Ruby, Groovy, etc.)

High Level Architecture

Apache Synapse is designed to be lightweight and fast. The non-blocking HTTP transport, the multi-threaded mediation engine and the streaming XML infoset combine to ensure that Synapse can mediate very high volumes of messages through the service bus with minimum delay and resource usage. Synapse also comes with comprehensive logging capabilities, statistics collection and JMX monitoring support which are crucial in production deployments.



 

猜你喜欢

转载自gaojingsong.iteye.com/blog/2373233