Hi all,

Here is how we can configure Qpid broker and ActiveMQ broker in broker
component.

Qpid broker configuration:

java.naming.factory.initial =
org.apache.qpid.jndi.PropertiesFileInitialContextFactory
connectionfactory.Connection_Factory_Lookup_Name =
amqp://guest:gu...@clientid/test?brokerlist='tcp://localhost:5672'
Connection_Factory_Lookup_Name = any name

*connectionfactory.*Connection_Factory_Lookup_Name; here *connectionfactory.
* is an essential part.


ActiveMQ broker configuration:

java.naming.factory.initial =
org.apache.activemq.jndi.ActiveMQInitialContextFactory
java.naming.provider.url = tcp://localhost:61616
Connection_Factory_Lookup_Name = connectionFactory, queueConnectionFactory,
topicConnectionFactory

So in broker component, we are going to provide UI for entering those
values. So are we providing any jms broker(Qpid, ActiveMQ, RabbitMQ...) to
be configured in broker component?

we can ask user to provide following properties to capture above details.
factoryInitial
providerUrlName
providerUrlValue
connectionFactoryLookupName

In current implementation, I have done as above.


Another option is to let user to select provider as ActiveMQ or Qpid, then
ask specific details.

Any suggestions or ideas how to continue with this.

Thank you.

-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to