WSO2 DAS Empty data in stream - wso2

I'm starting to use WSO2 DAS to publish some data from WSO2 ESB for monitoring purpose.
I configured the stream on both sides (ESB/DAS) but when I send the data to the DAS I just get an empty row in the DAS database. I checked both parameter names and I checked the XPath expressions in ESB and everything seems OK. Obviously I'm missing something.
Thanks for your help.

As I've been talking with WSO2 support, the proble was that using the "bam" mediator does not work with the DAS.
You have to use "publish event" mediator + sink in the ESB and the stream/receiver on the DAS. With that, no problem: data is correctly sent.

Related

WSO2 ESB Analytics - Message Flow Not Displayed

I've configured WSO2 ESB Analytics and data seems to be posting to analytics server. But once clicked on Success or Failed records the relevant message flow data isnt displayed. I've configured data to be stored on oracle database. Any idea why this happens?

How To Consume JMS Queue From WSO2 REST API

I am using WSO2 EI 6.1.1. I am trying to consume Active MQ queue from inside the WSO2 REST API, but unable to achieve it. I don't want to use the proxy service of WSO2. Please provide some input.
WSO2 provides the JMS connector. Can you try with this?

Additional business logic to send an email in WSO2 DAS flow

I'm developing a CEP application prototype using WSO2 DAS. As a result of my flow, I have a final event stream (attr.: email address, subject, text,...) wich I want to send by mail to the address from the attribute of current event. But using WSO2 DAS I can send only simple letter to the fix address list.
I've started to read WSO2 EI documentation. I suppose, I will be able to use HTTP publisher in WSO2 DAS to send request to WSO2 EI and develop additional logic there.
Is it right way for my case?
Alex,
In DAS email publisher's 'to email address' and subject are treated as dynamic fields which means you can injects values from event to those fields. To do that you can use double curly braces. Ex:
Subject = {{subject}}
https://docs.wso2.com/display/DAS310/Email+Event+Publisher
Hope this answers your question.
Yes! Send message to wso2ei give you potential change your notification to sms or logs it or add guarantee delivery for your notification. For example whats would be happen if after event your email server will be not respond. In wso2ei you can do sequence of it.

How to monitor webmethod by using WSO2 BAM?

I have integrated WSO2 ESB and BAM. Greatly, I'm able to monitor the Service Proxy. But I wonder if there is anyway to monitor the operator/WebMethod of proxy. Please give me some advice.
I already use Bam mediator to collect ESB data for monitoring Webmethod. But my problem is there is not payload_request_count/response_count... data to sent to bam_service_data_publisher. Whereby the dashboard is always empty.
So how could I do to send those properties?
You can add the BAM mediator to a sequence (when adding a mediator, choose Agent -> BAM) and specify the BAM server profile and stream you want to use to start capturing and sending data events to the BAM server. Be sure to enable statistics on the sequence to start collecting the data.
https://docs.wso2.com/display/BAM250/Setting+up+BAM+Mediator
https://docs.wso2.com/display/ESB481/BAM+Mediator
In addition you can use Api Manager to control and monitor your web method.
http://wso2.com/api-management/

WSO2 ESB API payload Security

I developed some API in WSO2 ESB server.I need to pass encrypted data to my resource server through the ESB. But i need to update data (payload) while request reach in ESB apart of my business.Is there any solution .any help please ?
According to the requirement you have mentioned here you can update data in the payload inside the ESB with the help of a Payload Factory mediator.
As an example, please refer documentation [1] Section of “Using WSO2 ESB to modify messages with text content".
Encrypting the data/payload inside the WSO2 ESB, does not support Out Of the Box.
As a suggestion, I would suggest to implement the scenario with the help of the transport layer by Enabling SSL profiling feature with WSO2 ESB which will communicate with a resource server in a safe manner.
For more information on SSL profiles in WSO2 ESB, please visit documentation [2].
[1] https://nadeesha678.wordpress.com/tag/wso2-esb/
[2] http://pathberiya.blogspot.com/2010/07/ssl-profiles-in-wso2-esb.html