Yes. I am looking into it. Danushka
On Fri, Aug 13, 2010 at 5:18 PM, Amila Suriarachchi <[email protected]> wrote: > hi Danushka, > > shall we test this with the new Qpid carbon component? > > thanks, > Amila. > > > On Fri, Aug 13, 2010 at 5:02 PM, shammi jayasinghe <[email protected]>wrote: > >> Hi , >> >> I have developed a wrapper module called "JMSBasedBroker" for the JMS >> API which implements the the WSO2 Carbon Event API. As in the >> attached image there are two seperated modules which implements the WSO2 >> Carbon API. In the deployment time Carbon Event Broker >> loads correct module according to the configurations in the >> broker-config.xml. >> >> When using the Wrapper module it creates the initial context at the >> begining. >> >> Initial Context >> =============== >> Properties for the initial context is read from the jms-broker-config.xml >> file. These properties are based on the JMSProvider that is used in the >> system. >> >> Eg: if the JMSProvider is ActiveMQ , the properties will be >> <parameter >> name="initialContextFactory">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter> >> <parameter name="providerURL">tcp://127.0.0.1:61616</parameter> >> >> Publishing an event using JMSBasedBroker >> ======================================== >> When an event is published to a particular topic via Carbon Event API , >> JMSBasedNotificationManager in that module creates a JMS Message >> using the initial context loaded before and submit to the JMS >> TopicPublisher to publish. JMS Provider will publish this message to the >> given topic. >> >> >> Subscribing to a Topic using JMSBasedBroker >> ============================================ >> When a subscribe request comes via Carbon Event API, >> JMSBasedSubscriptionManger creates JMSBasedSubscriber using the subscription >> object. >> JMSBasedSubscriber creates a JMS TopicSubscriber and subscribe for the >> topic. When a message published to a subscribed topic, OmMessage event >> of JMSBasedSubscriber fires (JMSBasedSubscriber implements MessageListener >> interface) and it sends the notification to the sinkURL. >> >> What is to be developed in future >> ================================= >> Handling Topic subscriptions as as done in WSO2 Event server. >> Integrate and Test QPid implementation with the event server >> >> >> Thanks you very much, >> Best Regards, >> Shammi >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > _______________________________________________ > Carbon-dev mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >
_______________________________________________ Carbon-dev mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
