Saveendra Ekanayake
Saveendra Ekanayake

Reputation: 3313

Unable to create JMS Receiver in WSO2 CEP

I am using WSO2 CEP v4.1.0. I have already created 1 JMS receiver and it works fine, And then I try to add another JMS receiver, Then one of error message alert was given by CEP, but no any carbon console messages were printed in console. Is this a bug of WSO2 CEP?

Error message screen cap is given below

enter image description here

Steps to reproduce the problem -

1.Create new JMS receiver with the following details (Above image with error message shows the filled data.)

2.Create another receiver with same details with different topic name

3.jndi property that is used for both is

# register some connection factories
# connectionfactory.[jndiname] = [ConnectionURL]
connectionfactory.TopicConnectionFactory=amqp://admin:admin@clientid/carbon?brokerlist='tcp://localhost:5672'

# register some queues in JNDI using the form
# queue.[jndiName] = [physicalName]

# register some topics in JNDI using the form
# topic.[jndiName] = [physicalName]
topic.param1 = param1
topic.param2 = param2
topic.param3 = param3
topic.param4 = param4

4.Advanced property mapping has been done by according to the properties.

Upvotes: 0

Views: 614

Answers (2)

Mohanadarshan
Mohanadarshan

Reputation: 830

Saveendra,

It is not an issue with JMS receiver or no of jms receivers.. It is an issue with MAP custom mapping where it does not allow to save a custom mapping without a default value.. It is an UI issue..

I have fixed that issue now in this commit (and fix will be there in next release).. For the moment, add an appropriate default value for the custom mapping and continue (or deploy the event receiver through file system or use the edit UI)

Upvotes: 1

Saveendra Ekanayake
Saveendra Ekanayake

Reputation: 3313

I think this is a bug, It will happen when adding property mapping with map type, It will provide the above error message. Therefore without filling advanced details which is related to mapping, create new receiver and then edit the receiver XML and add that mapping manually. It will be saving successfully.

Upvotes: 0

Related Questions