mule

Lazy loading of ESB in a jruby rails app

I have a jruby/rails app using: jruby 1.4.0 Rails 2.3.5 ActiveMQ 5.3.0 Mule ESB 2.2.1 Currently in our environment.rb file we start up Mule in the initializer. This becomes a big pain when we go to do normal rake tasks that don't require JMS/Mule such as db:migrate as it takes a long time to startup/shutdown Mule everytime. The code...

How to set WS-SecurityPolicy in an inbound CXF service in Mule?

When configuring the service for handling UsernameToken and signatures, it's setup like this: <service name="serviceName"> <inbound> <cxf:inbound-endpoint address="someUrl" protocolConnector="httpsConnector" > <cxf:inInterceptors> <spring:bean class="org.apache.cxf.binding.soap.saaj.SAAJInInterceptor" /> <spr...

How to filter outbound routing using Mule ESB?

I have a instance of Mule that is configured to process xml responses from a third party provider. Recently the provider has moved to a new revision and hence changed the xml response. Now I need a way to identify if the response is a v1 or v2 implementation and call the appropriate endpoint on my side to process the response. What I ...

How does RabbitMQ compare to Mule

How does RabbitMQ compare to Mule, I am going to build an application using message oriented architecture and AMQP (RabbitMQ) provides everything i want, but i am perplexed with so many related technology choice and similar concepts like ESB. I am having a doubt if i am making a choice without considering other alternatives. I am mostly...

How do I create a Mule ESB Service to HTTP POST using name/value pairs?

I need to create a mule service that will POST data to a web service that expects name/value pairs (not xml), then process the XML response from that service. I cannot find a good example on how to prep the payload for an http POST. Can someone provide some insight or examples? What I have so far is (I don't know if 'PathToTransforme...

Mule: What's the difference between a multicasting-router and a static-recipient-list-router?

I can't really see a difference between a multicasting-router and a static-recipient-list-router. Why would I use one over the other? According to Mule-2.x user guide Recipient List the Recipient list router can be used to send the same event to multiple endpoints over the same endpoint or to implement routing-slip beha...

Installation of different versions of Mule ESB in the same server

PROBLEM - Can different versions of Mule be deployed (say Mule 2.0 and 2.2.0) in the same server? They will be used for different applications. Will there be any conflict because of it? Should any pre-requisites be taken care before doing that way Do you foresee any potential risks in this? Thanks :) ...

How should a Java Web Service return image?

We are developing a Java web service(SOAP based) that has to return certain data along with an Image. The web services are developed using MULE ESB. The consumer of the web service is a FLEX client. The text data is returned as XML. But I'm not sure how the web service should return Image to the FLEX client. As of now I can think of t...

Spring + CXF or Spring+Mule? Which one is better?

I want to expose some of the existing POJOs of my Spring Web application as Webservices with the help of JAX-WS annotations. I can do it in the following two ways Apache CXF Mule ( this internally uses CXF) I wanted to know which is preferable and why? ...

Choice of ESB Architecture

Hello, I am working on a project using MULE ESB. The present scenario in the application I am working is From the first application we are able to send xml msgs to peoplesoft (its acting as the second application) directly but it is not guaranteeing that all the messages will be received at the peoplesoft end .. so we decided using ...

Problem using reply-to with tibco connector

Hi, I'm having troubles configuring a reply-to with tibco. We are sending messages to tibco from mule (2.2.2-SNAPSHOT) using an outbound-endpoint and this works fine without the reply-to tag. When we want to set the JMSReplyTo using the reply-to tag we always get the same error message, doesn't matter which address or ref we pass. The e...

How to send ALL XML messages that were sent when the database was down TO PeopleSoft after database picks up?

Hello, I am working on a project using MULE ESB. The present scenario in the application I am working is From the first application we are able to send xml msgs to peoplesoft (its acting as the second application) directly but it is not guaranteeing that all the messages will be received at the peoplesoft end. so we decided using MUL...

Apache Camel and other ESB products

Hey, If we have Apache Camel why to use other solutions like Apache ServiceMix and Mule? Is there something Apache Camel can't do comparing to these products? When to use Mule/ServiceMix and when to use Camel? ...

Using an ESB system to replicate data among databases.

Hi, I work in a small supermarket chain (4 stores). Each store has its own local database which contains information of each product, prices, and transactions that have ocurred on the store. In addition, each store needs to replicate this information back and forth to a central location. Right now we are using something called SQLRem...

How to log efficiently with configurations?

I am using Spring framework in my application and it is deployed on MULE server. Based on debug or info level, the amount of logging and the percentage of logging will vary. Till date, I write the log statements explicitly in all my business logic. Is there any way to do this through configuration, say configure at some point - CLAS...

call ofbiz webservice from mule

how to call ofbiz webservice from mule (esb) ? ...

Recomendation on Mule JMS queue config?

Dear readers I'm working on updating an existing Mule configuration and the task is to enhance it to route messages to different endpoints depending on some properties of the messages, therefore it would be nice to have some pros and cons on the two options I have at hand: 1) Add properties on the message, using the "message-properties...

Problem with Mule cxf:outbound-endpoint (client) and HTTPS/SSL.

Dear readers I have a small problem configuring the CXF transport in Mule 2.2 to call a WS-method on service exposed, using HTTPS/SSL. Calling the same method using plain HTTP works fine. I’ve searched a lot on this issue and found among others the following link: http://www.mulesoft.org/documentation/display/MULE2CB/Using+HTTPS+with+C...