esb

Insert Arraylist in Database in Mule

情到浓时终转凉″ 提交于 2019-12-11 02:25:33
问题 I am trying to insert the contents of an ArrayList to a SQL Server database using Mule ESB. The ArrayList looks like [ {Id=a1o90000001muvWAAQ, Billing_Number__c=1000005, type=Call_Log__c}, {Id=a1o90000001muvXAAQ, Billing_Number__c=1000006, type=Call_Log__c} ] How should I insert this into the database in an optimized way? My mule flow is as below. <sfdc:query config-ref="Salesforce__Basic_authentication" query="#[flowVars.query]" doc:name="Salesforce"/> <set-variable variableName="result"

Issue with adding jar in OSGI bundle using <Embed-Dependency>

隐身守侯 提交于 2019-12-11 02:07:27
问题 I'm trying to embed third party libs and application jar in a OSGI bundle.I read the felix maven plugin document and tried using Embed-Dependency . But it doesn't seem to have any effect. Here's my pom <dependencies> &ltdependency> &ltgroupId>com.test</groupId> <artifactId>taxonomymessagebundle</artifactId> <version>1.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>2.4</version> <scope>compile</scope>

Standalone java code to invoke wso2 secured web service

这一生的挚爱 提交于 2019-12-11 01:09:13
问题 I have a secured web service on wso2esb. It is based on Username token. Now, I want to create a standalone java program to invoke this web service. I m having hard time figuring out how to do this. Can you please help me in this. Thanks and Regards. 回答1: Access to a secure web service in this way, I presume you use UT scenario: String trustStore = null; ConfigurationContext ctx = null; String policyFilePath = "[file_system_path]/secure_sample_policy.xml"; trustStore = "[file_system_path]

ESB Vs EAI/Hub Spoke

会有一股神秘感。 提交于 2019-12-11 00:58:17
问题 I read a lot of integration literature that talk about the evolution of integration architecture from Point-to-Point to Hub-Spoke to ESB. But for the life of me I am struggling to understand the difference between Hub-Spoke and ESB. Hub and Spoke is usually depicted as the following - Hub as one big circle (Hub) with multiple smaller circles around connected to the hub via spokes But the same can redrawn as you would depict an ESB right? So I am not sure why ESB and Hub-Spoke architectures

Mule 3.3.0 Jdbc Transaction Undesired Commit

China☆狼群 提交于 2019-12-10 22:08:24
问题 I'm trying to setup a dummy example of jdbc transaction to test commit and rollback. Here I've got : an http entrypoint to start flow, an insert on db a component that throw and exception an update on db. I expect that after component exception insert were rollback but it doesn't. Debugging mule source I've seen that in class BeginAndResolveTransactionInterceptor the insert statement terminate with a commit because resolveStartedTransaction property is set to true. This is why in default

Differences between SCA (Service Component Architecture ) and ESB (Enterprise Service Bus)?

梦想的初衷 提交于 2019-12-10 21:43:39
问题 i have started learning about Software architectures and i came across these terms ESB and SCA . Now these terms i found quite confusing as they seems to serve the same purpose (i know this could sound ridiculous to people masters in these topics, still). Can anybody please explain the differences ? Any help appreciated. 回答1: Actually they are quite different from each other. ESB stands for Enterprise Service Bus. It is a pattern for how to decouple services that you use across your

Mule flow execution unexpectedly splits on error in SMTP sendout

谁都会走 提交于 2019-12-10 20:43:37
问题 I would like to catch errors from SMTP endpoint (for example in case it's misconfigured or the server is down) and when this happens, prevent messages from proceeding the normal path and rather go into an exception flow. An exception handler works and messages are routed into an exception flow. What is unexpected is that the message is duplicated and also proceeds with the "normal" flow as well. I would expect it to go only in one direction: if an email was sent successfully go into a normal

Secured HL7 Transport in WS02 ESB?

拜拜、爱过 提交于 2019-12-10 19:58:57
问题 My group is evaluating HL7 Proxying and came across WS02 ESB. I have successfully configured an HL7 Proxy that seems to work well. Now my task is to secure the listening point with SSL (TLS specifically). This seems like something that the ESB should be able to handle. It can do HTTPS, Secured Web Services, etc. However, there doesn't seem to be a way to enable this with a simple check box for HL7 Proxying, nor am I finding any documentation on how to enable it manually. Is it even possible

Using Local IP address In a Mule ESB application

99封情书 提交于 2019-12-10 11:48:01
问题 I've deployed a Mule ESB application which accept as input a GET HTTP request as follow http://localhost:8088/esb/?id=xxx when replace the localhost with my local IP adress 192.168.1.2 it doesnt work neither on my machin nor on another one from my lan. I've added a rule in the firewall to allow the port 8088 and it doesn't work either. I've disabled my antivirus and the firewall and no result. could someone help? 回答1: I have absolutely no problem using this endpoint configuration: <http

Calling remote ESB client error

喜你入骨 提交于 2019-12-10 10:38:41
问题 I am trying to send and esb message from remote client, but I am constantly getting this error: org.jboss.soa.esb.listeners.message.MessageDeliverException: org.apache.ws.scout.transport.TransportException: java.lang.reflect.InvocationTargetException at org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:545) at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:174) at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:155) at