Questions tagged [apache-synapse]

Apache Synapse is a lightweight and high-performance Enterprise Service Bus

Apache Synapse is a lightweight and high-performance Enterprise Service Bus (ESB).

Powered by a fast and asynchronous mediation engine, Apache Synapse provides exceptional support for , and .

In addition to XML and , Apache Synapse supports several other content interchange formats, such as plain text, binary, Hessian and JSON. The wide range of transport adapters available for Synapse, enables it to communicate over many application and transport layer protocols.

As of now, Apache Synapse supports HTTP/S, Mail (POP3, IMAP, SMTP), JMS, TCP, UDP, VFS, SMS, XMPP and FIX.

207 questions
6
votes
1 answer

Criteria for choosing simple Apache Synapse Vs WSO2

While evaluating various ESB's, I came across Apache Synapse & WSO2. In WSO2 it's mentioned that WSO2 completely uses Synapse and built on top of it. However I am not still clear what additional features does WSO2 offer over Synapse? (Apart from…
Harish
  • 7,589
  • 10
  • 36
  • 47
4
votes
1 answer

WSO2 EI, How to get payload as String from Custom Class mediator

I have created my own MediatorClass. Which has this major method: public boolean mediate(MessageContext context) { // TODO Implement your mediation logic here return true; } Now there is a problem. This mediator is part of REST API…
Mr.D
  • 7,353
  • 13
  • 60
  • 119
4
votes
3 answers

Can't apply concat function in WSO2 ESB CONFIGURATION with json-eval

I'm trying to set this expression in order to obtain the output file name as a concat between the name of the city and the extention of the file:
FDC
  • 317
  • 3
  • 16
4
votes
2 answers

How can create https server using synapse in lazarus

I am trying to create https server in lazarus using synapse but I am failing. I want to mys server receive data from other https clients. I am sending requests with my browser using https://localhost:1500 and mys server is receiving signals. But…
Imants Gulbis
  • 87
  • 1
  • 8
4
votes
2 answers

Supported XPath functions in WSO2 ESB 4.8.1

The following XPath functions seem not be supported in WSO2 ESB 4.8.1: escape-html-uri() iri-to-uri() encode-for-uri() Does anyone know what XPath functions are supported and what are not supported in WSO2 ESB 4.8.1?
tuan
  • 433
  • 8
  • 17
4
votes
2 answers

WSO2 ESB HTTP POST with form data

I have a soap service that I want to turn around and post a message to an external server. I was able to do this via curl like so: curl --data-urlencode "filename=data.txt" --data-urlencode "filedir=/home/myfile/in" --data-urlencode…
user2836244
  • 43
  • 1
  • 4
4
votes
1 answer

apache synapse custom mediator

I have a REST service that I want to use through wso2 ESB. The service returns a JSON object. I wish however to modify the JSON before it enters the ESB and gets processed. I've managed to deploy a custom class mediator but I don't know how can I…
Ivo
  • 1,228
  • 1
  • 15
  • 33
4
votes
2 answers

WSO2 ESB - Dynamic value for proxy parameters (transport)

I need to be able to specify a dynamic value for proxy parameter. Actually, I have to specify each parameter with complete URL like : .*.txt I see some samples with property mediator and I…
Loïc
  • 88
  • 8
3
votes
1 answer

How to respond application/pdf content from WSO2 ESB

I am trying to respond PDFcontent from wso2 esb rest api and want to view in browser. I have enabled the messageFormatter and messageBuilder for application/pdf as well. But when I invoke my api from browser I am getting exception below in wso2…
Waqas Ali Razzaq
  • 659
  • 1
  • 5
  • 30
3
votes
2 answers

WSO2 ESB, Using Aggregate mediator without send/call in iterate mediator

In WSO2 ESB, can i use aggregate mediator to aggregate messages split by iterate mediator(which doesn't use Send or Call mediators to send the message to external endpoint) ? I have tried this but aggregate mediator is not picking up the split…
Pawandeep
  • 75
  • 9
3
votes
2 answers

WSO2 ESB "Send" mediator not sending to Out Sequence of Proxy

I am having a slight issue with 2 sequence's I have created in a WSO2 Esb proxy service. Here is my configuration: My Proxy (Pepkor_Product_Search_Proxy) needs to search a web service and data service for product information and bring back the…
MiddlewareManiac
  • 570
  • 4
  • 19
3
votes
2 answers

WSO2-ESB How to save the whole SOAP Envelope into a property

I am saving the message body into a property with the following syntax as described at …
jmhostalet
  • 4,399
  • 4
  • 38
  • 47
3
votes
2 answers

Sending POST request to ESB

I'm trying to create a Google Custom Search connector for WSO2 ESB. After creating the connector I have added the connector to ESB. Then I want to test it. My test init file like this: