动态反汇编程序和地图场景 [英] Dynamic disassembler and map scenario

查看:110
本文介绍了动态反汇编程序和地图场景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果有人可以对最佳方法方向发表意见,那就很好。


我需要在一个位置收到许多不同的文件。 我可以构建一个自定义反汇编程序组件,它读取文件的前10个字符以标识文件。使用身份我将在管道
组件内进行Web服务调用,以返回正确的Flat File反汇编程序模式。 一旦文件被反汇编,我需要确定地图(?也可以在Web服务中返回),将文件内容转换为我已有的通用模式。 


ESB Toolkit 2.1正在发挥作用,但我不确定它是否可以帮助我解决上述情况。 任何人都可以评论解决这个问题的一般方法吗? 任何远程关闭的样本?


谢谢。


Tim


 

解决方案

你好蒂姆,


你可以很好地使用ESB。


默认情况下,ESB提供了不同的管道,您可以根据需要使用它们。在ESBdispatcher管道中,您可以调用策略(BRE)来决定要调用的Web服务。如果你想要一些比其他
转换等更复杂的逻辑,那么你可以使用  ESBSelectReceive管道从管道中选择行程,然后它将具有您的逻辑,并且还将决定需要调用哪些服务。 


请参阅下面的链接,这可能对您有帮助。


http://tenalinaga.wordpress.com/2010/11/12/esb-dynamic-resoultion-with-bre-and-uddi-and-itineraries/


If someone could comment on best approach direction that would be great.

I need to receive many different files in a single location.  I can build a custom disassembler component that reads the first 10 characters of the file to identify the file. Using the identity I will make a web service call from within the pipeline component to return the correct Flat File dissassembler schema.  Once the file is dissassembled I need to determine the map (?maybe return that in the web service as well) to transform the file contents into a common schema that I already have. 

ESB Toolkit 2.1 is in play but I'm not certain it can help me with the scenario above.  Can anyone comment on the general approach to solving this problem?  Any samples that are remotely close?

Thanks.

Tim

 

解决方案

Hi Tim,

You can use ESB very well.

There are different pipelines that ESB provides by default, you can use them as per your need. Within ESBdispatcher pipeline you can call a policy (BRE) to decide which web service you want to invoke. If you want some more complex logic like other tranformations etc then You can use  ESBSelectReceive pipeline to select the itinerary from pipeline which will then have your logic and also it will decide which service needs to be invoked. 

Please refer to link below which might help you.

http://tenalinaga.wordpress.com/2010/11/12/esb-dynamic-resoultion-with-bre-and-uddi-and-itineraries/


这篇关于动态反汇编程序和地图场景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆