esb

TSQL: Trigger on Commit

耗尽温柔 提交于 2019-12-23 12:12:07
问题 We have a back office system that inserts invoice information into an SQL database via a MSDTC stored procedure, the application inserts header, then the detail information. I have set up a CLR trigger on the header table that fires when a record is inserted. The problem I am having is that the trigger is firing before the COMMIT TRANSACTION meaning that the details information might not be populated, which is required by the process that is triggered. Also if the system fires a ROLLBACK

wso2 esb file processing example smooks csv parser first line includes payload namespace

两盒软妹~` 提交于 2019-12-23 11:13:33
问题 Dabbling with WSO2 ESB example http://wso2.org/library/articles/2011/01/wso2-esb-example-file-processing but encountering a problem where when a simple csv file name0,value0 name1,value1 name2,value2 name3,value3 is parsed by smooks using this configuration <smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd" xmlns:csv="http://www.milyn.org/xsd/smooks/csv-1.1.xsd"> <csv:reader fields="name,value" /> </smooks-resource-list> results in largely the correct output but the first

How to implement a Mule Message Observer?

你说的曾经没有我的故事 提交于 2019-12-23 06:04:06
问题 Im trying to implement a simple message observer on Mule that don't need to mutate the message. This link on the documentation says that the easiest way is to extend the AbstractMessageObserver. But as i can see on this link the class has been removed in the earlier versions of Mule. So, the best way to do this now is implementing the MessageProcessor interface and simply return the MuleEvent param in the process method? 回答1: If you need to access the whole MuleEvent , either a

How to implement a Mule Message Observer?

↘锁芯ラ 提交于 2019-12-23 06:03:56
问题 Im trying to implement a simple message observer on Mule that don't need to mutate the message. This link on the documentation says that the easiest way is to extend the AbstractMessageObserver. But as i can see on this link the class has been removed in the earlier versions of Mule. So, the best way to do this now is implementing the MessageProcessor interface and simply return the MuleEvent param in the process method? 回答1: If you need to access the whole MuleEvent , either a

Parse JSON in Mule 3.2 Flow

妖精的绣舞 提交于 2019-12-23 04:37:33
问题 If I have the following JSON [ { "category": "reference", "author": "Nigel Rees", "title": "Sayings of the Century", "price": 8.95 }, { "category": "fiction", "author": "Evelyn Waugh", "title": "Sword of Honour", "price": 12.99 }, { "category": "fiction", "author": "Herman Melville", "title": "Moby Dick", "isbn": "0-553-21311-3", "price": 8.99 }, { "category": "fiction", "author": "J. R. R. Tolkien", "title": "The Lord of the Rings", "isbn": "0-395-19395-8", "price": 22.99 } ] I can get the

Difference between Hub, Spoke and ESB

拈花ヽ惹草 提交于 2019-12-21 17:37:16
问题 I know theres already a good question on this, but it doesn't really answer what I'm looking for. From what I understand: 1.both are used as a central focal point between applications 2.both can use routing/mediation/transformation etc. between services/apps But the only difference i can really see is that hub and spoke typically have many different formats entering the hub(SOAP/REST/XML/JSON...) while ESB typically has a standard format(Usually just SOAP.) Also I keep reading that hub and

Mule ESB: how to filter emails based on subject or sender?

让人想犯罪 __ 提交于 2019-12-21 05:48:26
问题 I am new to Mule 3.3 and I am trying to use it to retrieve emails from a POP3 server and download the CSV attachments if the sender field and subject field contain certain keywords. I have used the example provided on Mulesoft website and I have successfully managed to scan my inbox for new emails and only download CSV attachments. However, I am now stuck because I can't figure out how to filter emails by subject and sender fields. Doing some research I have come across a message-property

Multiple consumers for the same message through Unity not working in MassTransit

风流意气都作罢 提交于 2019-12-19 03:09:23
问题 I'm having a lot of problems lately because of what seems to be a bug in the MassTransit.UnityIntegration package, primarily due to the fact that registration names are not being considered. For instance, if I register my classes like this: var container = new UnityContainer() .RegisterType<Consumes<Command1>.All, Handler1>("Handler1") .RegisterType<Consumes<Command1>.All, Handler3>("Handler3"); A few lines later, I use the LoadFrom extension method to get the registered consumers in the

基于ESB实现商友与K3财务凭证集成

主宰稳场 提交于 2019-12-18 12:18:42
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 1. 背景 沈阳 XX 商场推行 O2O 营销模式,信息化系统包括:线下零售系统、线上电商系统、网上支付系统,财务核算系统,为了实现线上线下系统互动、财务核算一体化,需要对各系统进行数据集成、系统对接。由于涉及的集成业务点较多、而且相对复杂,同时为了满足后续业务方面灵活多变销售策略,引入统一集成平台 AEAI ESB 来做为企业信息化集成的“龙骨”,实现各系统的业务串联。 本文主要对线下零售系统(长益商友)跟财务财务系统(金蝶 K3 )的凭证对接技术实现进行介绍,这个集成点的主要内容是通过 AEAI ESB 将长益的商友系统中业务单据以凭证方式导入 金蝶K3财务软件。 2. 名词解释 1. 凭证:财务系统中财务核算单据。凭证包括凭证头、凭证分录、辅助核算。凭证头跟凭证分录是一对多的关系,凭证分录跟辅助核算也是一对多的关系。凭证分录关联会计科目,会计科目是树形结构的,凭证分录关联的会计科目是科目体系中叶子节点。会计科目对应不同的核算项目类型,凭证分录中具体有哪些辅助核算是由凭证分录关联的会计科目决定的。通常核算项目类型包括客户、供应商、部门、人员、商品 / 产品、其他收入项目等。 2. 凭证头:凭证主表,一般有凭证号、记账人、制单人、审批人、单据类型、等、业务日期、是否过账、贷方金额总计、借方金额总计等字段。 3

Messaging, Queues and ESB's - I know where I want to be but not how to get there

徘徊边缘 提交于 2019-12-18 11:59:56
问题 To cut a long story short, I am working on a project where we are rewriting a large web application for all the usual reasons. The main aim of the rewrite is to separate this large single application running on single server into many smaller decoupled applications, which can be run on many servers. Ok here's what I would like: I would like HTTP to be the main transport mechanism. When one application for example the CMS has been updated it will contact the broker via http and say "I've