How to Check or Test JMS Url is Active Before Sending Message in WSO2 ESB - jms

Is there any way or any configurations in WSO2 ESB to test JMS endpoint before sending actual message. I have searched alot but didn't find any solution. I need help from WSO2 experts.
Thanks.

there is no option in WSO2, just send a test message and check.

Related

Trying to use jms publisher/subscriber in jmeter to connect to IBM MQ

We have been using jms point-to-point sampler in jmeter to post an xml based request to the MQ. Since then our application has changed and now the messages that are posted to the MQ are Serialable objects created with spring integration. To have a test around this, we tried using jms publisher/subscriber. All the online support we tried is pointing to connection to ActiveMQ. Has anyone tried using jms published to post object message to and IBM MQ?
The online approach gives you all the elements to switch to IBM MQ.
You would need to:
put IBM MQ jars in lib folder of jmeter
Find the infos needed for :
http://jmeter.apache.org/usermanual/component_reference.html#JMS_Subscriber
http://jmeter.apache.org/usermanual/component_reference.html#JMS_Publisher
This will help you:
http://leakfromjavaheap.blogspot.com/2014/07/jmeter-and-websphere-mq-series.html?_sm_au_=iVV5P5vR626sDt7V

How to add re delivery delay in WSO2 Message Broker like ActiveMQ

I have successfully configured the WSO2 Message Broker with my WSO2 ESB. I have also implemented successfully the JMS Transactions. It means that if there is an error in Service Normal Flow, Message will be rolledback.
Problem:
Previously i have configured the ActiveMq with my ESB. In that Setup i have a configuration in {ESB_HOME}/repository/conf/axis2/axis2.xml. This configuration donates the "Re-delivery Delay". This time is used to tell the MessageBroker(ActiveMQ) that when you are attempting to redeliver the message, you have to wait for this time before trying again.
<parameter name="redeliveryPolicy.redeliveryDelay" locked="true">1200000</parameter>
WSO2 Message Broker:
I want to achieve the same result in WSO2 Message Broker. I think it had to do with some configuration in {MB_HOME}/repository/conf/advanced/andes-config.xml. But i am unable to find that particular configuration setting anywhere in Message Broker.
Note: I am using WSO2 ESB 4.8.1 and WSO2 Message Broker 2.2.0.
What i want to achieve:
My goal is that i should be able to tell WSO2 Message Broker like ActiveMQ that you must take this much time before trying to re-deliver the message.
As I know it cannot be done like this in case of WSO2 MB. You have to setup a message store and a message processor guarding on that message store. And when you have a message processor it can be configured with interval and max delivery attempts.
https://docs.wso2.com/display/IntegrationPatterns/Dead+Letter+Channel
http://charith.wickramaarachchi.org/2012/05/another-message-redelivery-pattern-with.html
http://wso2.org/library/articles/2011/10/implementing-store-forward-messaging-patterns-wso2esb-part-1
http://wso2.com/library/articles/2011/12/implementing-store-forward-messaging-patterns-wso2esb-part-2/
(Alternatively, you can setup the maxAckWaitTime, it means it will wait at least 'maxAckWaitTime' seconds between two redelivery attempts)

Qpid JMS Options for CloudBees?

I know that CloudBees don't provide a Message Queue service. In my Java EE app, I have use RabbitMQ as a Broker, Qpid JMS as client. It doesn't work due to:
[#|2013-11-09T20:21:45.203+0000|INFO|glassfish 4.0|org.jboss.weld.ClassLoading|_ThreadID=39;_ThreadName=AutoDeployer;_TimeMillis=1384028505203;_LevelValue=800;|
WELD-000119 Not generating any bean definitions from javaeetutorial.websimplemessage.SenderBean because of underlying class loading error: Type javax.jms.Message not found. If this is unexpected, enable DEBUG logging to see the full error.|#]
Do you have any solution make it work in CloudBees. Does CloudBees support Qpid?
Thank you in advance.
Leon
as container is a javaEE Web profile one, you have to provide JMS api jar in your war.
If I am not wrong a technology partner of Cloudbees provides MQ(Rabbit) -> CloudAMQP (http://www.cloudbees.com/platform-service-cloudamqp.cb)

How can I pass a message from JMeter to Sonic ESB?

I am trying to use the point-to-point functionality of JMeter to test Sonic ESB.
I developed a service in Sonic ESB (a very simple service which has only one prototype step). I wanted to pass a message from JMeter to the service which I developed in Sonic ESB and get a response back.
I have an input Queue named Sample.Q1.
I am really confused about how to link JMeter and Sonic ESB.
I followed the following link in creating the jmeter point-to-point. http://jmeter.apache.org/usermanual/build-jms-point-to-point-test-plan.html
Please tell me how to provide authentication details also (i.e user name and password).
Configure the JMS Point-to-Point Sampler with Sonic information.
Have you configured your prototype Service with a replyTo endpoint in the output?
You can also disable the authentication or use JMS properties.

WSO2 ESB more than 10 JMS Queue not working

While develping WSO2 flows with proxies and queues we discovered that with more than 10 queues in the ActiveMQ, some proxy do not get the messages from the JMS anymore.
We found follwing links on this problem, but the correct solution can't be found:
http://node2.wso2.org/forum/thread/9516
Where do I have to put the mentioned parameters?
The answer could be found here:
http://wso2.org/library/articles/2012/06/wso2-esb-example-processing-long-message-backlog
You have to add the following parameters to your start script of the WSO2
wso2server.bat -Dsnd_t_max=600 -Dsnd_t_core=120

Resources