Skip to main content

Posts

Showing posts from September, 2015

How Schedule failover message processor helps for the guaranteed delivery ?

Before we talk about the failover message forwarding processor, it’s better to understand the big picture of the concepts and use cases. The Scheduled Failover Message Forwarding Processor is part of the bigger picture of the   message store and message processor . Message Store Message Processor. WSO2 ESB’s Message-stores and Message-processors   are used to store incoming messages and then deliver them to a particular backend with added Quality of Services (QoS), such as throttling and guaranteed delivery. The basic advantage of the MSMP is that it allows you to send messages reliably to a backend service. These messages can be stored in a different reliable storage such as JMS, JDBC message stores. The MSMP powered by three basic components: 1. Store Mediator. The Store mediator is the synapse mediator and can be used to store messages in the message store. 2. Message Store. A message store is storage in the ESB for messages. The WSO2 ESB comes with four types of m

Illegal key size or default parameters

When you run the pre-defined security scenarios in the WSO2 ESB most probably you already faced the Illegal key size or default parameters exception org.apache.axis2.AxisFault: Error in encryption     at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)     at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)     at org.apache.axis2.engine.Phase.invoke(Phase.java:313)     at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)     at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:426)     at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:398)     at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)     at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)     at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554)     at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530)     

How to preserving HTTP headers in WSO2 ESB 4.9.0 ?

Preserving HTTP headers are important when executing backend services via applications/middleware. This is because most of the time certain important headers are removed or modified by the applications/middleware which run the communication. The previous version of our WSO2 ESB, version 4.8.1, only supported “ server ” and “ user agent ” header fields to preserve with, but with the new ESB 4.9.0, we’ve introduced a new new property ( http.headers.preserve ) for the passthru ( repository/conf/ passthru-http.properties ) and Nhttp( repository/conf/ nhttp.properties ) transporters to preserve more HTTP headers. Passthru transporter – support header fields               Location Keep-Alive Content-Length Content-Type Date Server User-Agent Host Nhttp transport – support headers Server User-Agent Date You can specify header fields which should be preserved in a comma-separated list, as shown below. http.headers.preserve = Location, Date, Server Note that

How to enable proxy service security in ESB 4.9.0?

Security is  one of the major concern when we developing API base integrations or application developments. WSO2 supports WS Security , WS-Policy and WS-Security Policy specifications. These specifications define a behavior model for web services. Proxy service security requirements are different from each others. WSO2 ESB providing pre-define commonly used twenty security scenarios to choose based on the security requirements. This functionality is provided by the security management feature which is bundled by default in service management feature in ESB. This configuration can be done via the web console until ESB 4.8.1 release, but this has been removed from the ESB 4.9.0. Even though this feature isn't provided by the ESB web console itself same functionality can be achieved by the new WSO2 Dev Studio . WSO2 always motivate to use dev studio to prepare required artifacts to the ESB rather than the web console. Better way to explain this scenario is by example. Following