当处理链接时,您可能需要入站或出站链接,或者同时需要两者。
When dealing with links, you either want the inbound or outbound links or both.
为什么我们只需要入站自定义登录模块呢?
这个入站登录模块将生成令牌。
有了这一设计,我们就有了入站服务和出站服务的单独中介。
With this design, we can have separate mediations for the inbound and outbound services.
接下来,定义流程入站和出站消息。
什么是入站处理和出站处理?
这通常在入站通讯期间使用。
每个入站服务对应于WSDL文档中的一个服务元素。
Each inbound service corresponds to a service element in a WSDL document.
然后,我们创建入站服务,将出站服务目的地作为入站服务的目标目的地。
We then create the inbound service, identifying the outbound service destination as the target destination for the inbound service.
格式字符串遵循上面描述的用于入站服务的语法。
The format string follows the syntax described above for an inbound service.
您必须为入站消息指定一个相关集。
对于入站的情况,不需要任何其他条目。
贡献者需要遵循入站贡献流程。
Contributors have to follow an inbound contribution process.
如果选择将出站目的地重新用于入站服务,那么消息将自动从入站服务流向出站服务。
If we reuse the outbound destination for the inbound service, the message will automatically flow from the inbound service to the outbound service.
此方法在入站流中调用。
如图2中所示,入站服务包括将消息路由到入站服务目的地(用黄色矩形表示)的端点侦听器。
As shown in Figure 2, an inbound service consists of an endpoint listener that routes messages to an inbound service destination (represented by the yellow rectangle).
步骤3:命名入站服务并选择端点侦听器。
Step 3: Name the inbound service and select endpoint listeners.
该向导会发现属于入站服务(导出)和出站服务(导入)的操作。
The wizard discovers the operations that pertain to an inbound service (export) and an outbound service (import).
这是您在入站步骤中创建的模块。
部署应用程序后,将自动启动入站轮询。
The inbound polling automatically starts after the application deploys.
最后的思考:虽然这个示例中的发现实现运行在客户机入站中,但类似的技术也可以运用在总线服务器入站中。
One final thought: Though the discovery implementation in this example ran in the client on-ramp, similar techniques can be used in the Bus's server on-ramp.
相关集使用来自入站或出站消息的值初始化。
Correlation sets are initialized with values from process inbound or outbound messages.
图8显示了如何将服务类型设置为入站。
入站适配器模块到此就已完成了。
要使用入站适配器,需要先设置事件存储库,这是暂时存储入站数据的地方。
To use the inbound adapter, you first need to set up the event store, which is where inbound data is temporarily stored.
有两种事件类型:入站消息和警报。
用于创建入站服务的向导将引导我们创建新的入站服务。
The wizard for creating an inbound service will guide us through the creation of a new inbound service.
现在我们已经创建了入站服务。
目标服务器使用入站登录模块获得令牌。
The target server picks up the token using an inbound login module.
遍历网络堆栈,以接受入站请求。
应用推荐