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
1
vote
0 answers

WSO2AM Mediator with conditional properties

We are trying to add an API to WSO2AM which has the problem, that we need to add (invisible for users) an Authorization Key. We are able to add it using Mediator with that configuration:
Oliver Karst
  • 39
  • 1
  • 6
1
vote
1 answer

Getting API name from Synapse handler

I am trying to implement a custom logger with Synapse handler, I can differentiate API and service but how can I get the API name from synapse handler code? Service name is __SynapseService for all APIs. public static boolean…
iozeren
  • 11
  • 3
1
vote
1 answer

WSO2 ESB store and forward - Unexpected error during sending message out

Having WSO2 5.0.0 trying to implement the store and forward pattern with a JDBC message store. Sending a message to the target endpoint throws an exception: TID: [-1234] [] [2016-12-05 23:25:24,874] ERROR…
gusto2
  • 11,210
  • 2
  • 17
  • 36
1
vote
1 answer

WSO2 ESB 5.0 Error trying to consume message from message store

I'm using WSO2 ESB 5.0 with MB as a feature, on the same instance. I'm getting an error StorableMessage cannot be found: ERROR - JmsConsumer [msg-store-C-1] cannot receive message from store. Error:Could not deserialize message:…
1
vote
0 answers

Hypermedia Message Builders in WSO2 axis configuration

Is there any way to set axis2 message builder/formatter for hypermedia, without setting content types one by one? Example: application/vnd.xxx.v1+json application/vnd.yyy.v2+json With something like:
1
vote
1 answer

Howto extract data from the JSON body of REST request inside a WSO2 ESB Synapse handler

I'm writing a custom Handler for WSO2 ESB to construct authentication credentials based on input request content. Right now what I have is something like this: public boolean handleRequest(MessageContext context) { // TODO: extract relevant…
yeiniel
  • 2,416
  • 15
  • 31
1
vote
2 answers

Apache Synapse/WSO2 API No response

I want to send a query to the database and return the result to the client using WSO2 rest api. Here is the synapse config:
Evgeni Dimitrov
  • 21,976
  • 33
  • 120
  • 145
1
vote
0 answers

Error during calling rest service from wso2

I am calling a rest service from wso2 sequence with json input.If I call the service from PostMan the service returns proper output but when I try with WSO2 there is below error coming.Please help me . I read some previous posts with same problem…
1
vote
1 answer

WSO2 ESB Getting a cookie from transport header with multiple cookies

I'm calling an authentication service with credentials and it responses back cookies with authentication info. I need that info for accessing a Web Service. The problem is that the authentication service returns a response with multiple cookies but…
Niko Rissanen
  • 13
  • 1
  • 5
1
vote
1 answer

WSO2 API Manager /services/... throw a NullPointerException

I have the WSO2 API Manager running on a Windows 2012 R2 server and all dashboard URL's like https://localhost:9443/store,https://localhost:9443/carbon,https://localhost:9443/publisher work fine. But when I configure and deploy (in the carbon.super…
Maarten Docter
  • 1,029
  • 1
  • 13
  • 31
1
vote
1 answer

Access NTLM Secured WS Througth WSO2ESB

Hello guys I'm trying to setup a proxy service on WSO2ESB to access a NTLMv2 secured WS. I created a mediator class to achieve this but not luck so far, I keep receiving 401 status Here is the code. Proxy Service:
1
vote
1 answer

Why is WSO2 PropertyMediator not triggering faultSequence when an Exception occurs?

In a proxy or API sequence when we have faultSequnce defined, every exception inside that sequence should trigger faultSequence. Example
1
vote
2 answers

WSO2 Aggregate Mediator premature/incomplete/unknown completion

I'm having a confusing issue with my aggregate mediator inside an out Sequence of a proxy. Configuration : A sequence implementing the iterate mediator Iterated the following message :
MiddlewareManiac
  • 570
  • 4
  • 19
1
vote
1 answer

WSO2 ESB Cache mediator : caching is ok, but empty response sent back to the client

I implemented a proxy service to cache the response from a back-end (rest) web-service. I have some treatments to do on the response of the EP, such as changing ContentType to application/xml, so I defined a "OnCacheHit" sequence, at the end of…
Hugo
  • 11
  • 1
1
vote
1 answer

Getting problems in Transaction Rollback in WSO2 ESB 4.8.0 with DSS 3.1.0

In my ESB 4.8.0, Dss is 3.1.0 I wish to insert the data reliably into database,for that i am getting one array list from client. That array i need to insert into 3 different tables.Each table gave to me returned generated key.which will help to…