Re: [Carbon-dev] Configuring ESB 4.0.0 with Qpid..

2011-07-19 Thread Manjula Rathnayake
Hi,

To create durable queues with Qpid we have to provide as below with queue
name.

myqueue=jmsdestinationqueue; {create:always, node:{durable: True}}

Thank you.


On Tue, Jul 19, 2011 at 2:15 PM, Amila Suriarachchi  wrote:

>
>
> On Tue, Jul 19, 2011 at 11:54 AM, Vijayaratha Vijayasingam <
> rat...@wso2.com> wrote:
>
>> I got resolved it ..with the following conf..
>>
>> 1) Edit axis2.xml file(ESB_HOME/rpository/conf/axis2.xml) like;
>>
>> Under transport In section;
>> 
>>  
>>  > class="org.apache.axis2.transport.jms.JMSListener">
>> 
>> > locked="false">org.apache.qpid.jndi.PropertiesFileInitialContextFactory
>>
>> > locked="false">repository/conf/jndi.properties
>> > locked="false">TopicConnectionFactory
>> > locked="false">topic
>> 
>>
>> 
>> > locked="false">org.apache.qpid.jndi.PropertiesFileInitialContextFactory
>>
>> > locked="false">repository/conf/jndi.properties
>> > locked="false">QueueConnectionFactory
>> > locked="false">queue
>> 
>> 
>>
>> Under Transport Outs section;
>>
>>   
>>  > class="org.apache.axis2.transport.jms.JMSSender"/>
>>
>> 2) At jndi.properties file(ESB_HOME/repository/conf/jndi.properties);
>>
>> Add following lines to create connectionfactory, queue , topic etc..
>> connectionfactory.TopicConnectionFactory = amqp://admin:admin@carbon
>> /carbon?brokerlist='tcp://localhost:5672'
>> connectionfactory.QueueConnectionFactory = amqp://admin:admin@carbon
>> /carbon?brokerlist='tcp://localhost:5672'
>> queue.MyQueue = example.MyQueue
>>
>> 3) Your MessageStore configuartaion should have minimum three parameters;
>>
>> http://ws.apache.org/ns/synapse";
>> class="org.wso2.carbon.message.store.persistence.jms.JMSMessageStore"
>> name="testMsgStore">
>> > name="java.naming.factory.initial">org.apache.qpid.jndi.PropertiesFileInitialContextFactory
>>
>> > name="java.naming.provider.url">repository/conf/jndi.properties
>> MyQueue
>> 
>>
>> Please note that "MyQueue" parameter you are defining @ jndi.properties
>> file.
>>
>
> yes that was the problem
>
> destination.dynamicQueues/
> myqueue=jmsdestinationqueue; {create:always}
> destination.myqueue=jmsdestinationqueue; {create:always}
>
> {create:always} has caused the problem. If your scenario works without that
> it is fine.
>
> thanks,
> Amila.
>
>
>
>
>>
>> Thanks
>> -Ratha
>>
>>
>>
>> On 19 July 2011 11:50, Amila Suriarachchi  wrote:
>>
>>> This could be the bug that shankar found with the message store Qpid as
>>> well. Please try with ESB 4.0.1
>>>
>>> thanks,
>>> Amila.
>>>
>>> On Mon, Jul 18, 2011 at 11:16 PM, Vijayaratha Vijayasingam <
>>> rat...@wso2.com> wrote:
>>>
 Hi,

 This is how i configured ESB to work with qpid..

 I uncommented JMS transport receiver and sender  in axis2.xml.

 And jndi.properties file contains the following configuration

 connectionfactory.TopicConnectionFactory = amqp://admin:admin@carbon
 /carbon?brokerlist='tcp://localhost:5672'
 connectionfactory.QueueConnectionFactory = amqp://admin:admin@carbon
 /carbon?brokerlist='tcp://localhost:5672'
 destination.dynamicQueues/myqueue=jmsdestinationqueue; {create:always}
 destination.myqueue=jmsdestinationqueue; {create:always}

 Now, when i create a message store , im getting follwoing exeception;

 [2011-07-18 22:57:03,048] ERROR - JMSMessageStore JMS error while
 retrieving messages from the store
 : testMsgStore
 javax.jms.JMSException: Error registering consumer:
 org.apache.qpid.AMQException: The name 'testMsgS
 tore_Queue' supplied in the address doesn't resolve to an exchange or a
 queue
 at
 org.apache.qpid.client.AMQSession$4.execute(AMQSession.java:2036)


 My 'MessageStore' configuration is as follows;

 http://ws.apache.org/ns/synapse";
 class="org.wso2.carbon.message.store.persistence.jms.JMSMessageStore"
 name="testMsgStore">
 >>> name="java.naming.factory.initial">org.apache.qpid.jndi.PropertiesFileInitialContextFactory
 >>> name="java.naming.provider.url">repository/conf/jndi.properties
 

 How should i create a message store with Qpid?

 Thanks
 -Ratha.

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listi

Re: [Carbon-dev] Configuring ESB 4.0.0 with Qpid..

2011-07-19 Thread Amila Suriarachchi
On Tue, Jul 19, 2011 at 11:54 AM, Vijayaratha Vijayasingam
wrote:

> I got resolved it ..with the following conf..
>
> 1) Edit axis2.xml file(ESB_HOME/rpository/conf/axis2.xml) like;
>
> Under transport In section;
> 
>  
>   class="org.apache.axis2.transport.jms.JMSListener">
> 
>  locked="false">org.apache.qpid.jndi.PropertiesFileInitialContextFactory
>
>  locked="false">repository/conf/jndi.properties
>  locked="false">TopicConnectionFactory
>  locked="false">topic
> 
>
> 
>  locked="false">org.apache.qpid.jndi.PropertiesFileInitialContextFactory
>
>  locked="false">repository/conf/jndi.properties
>  locked="false">QueueConnectionFactory
>  locked="false">queue
> 
> 
>
> Under Transport Outs section;
>
>   
>   class="org.apache.axis2.transport.jms.JMSSender"/>
>
> 2) At jndi.properties file(ESB_HOME/repository/conf/jndi.properties);
>
> Add following lines to create connectionfactory, queue , topic etc..
> connectionfactory.TopicConnectionFactory = amqp://admin:admin@carbon
> /carbon?brokerlist='tcp://localhost:5672'
> connectionfactory.QueueConnectionFactory = amqp://admin:admin@carbon
> /carbon?brokerlist='tcp://localhost:5672'
> queue.MyQueue = example.MyQueue
>
> 3) Your MessageStore configuartaion should have minimum three parameters;
>
> http://ws.apache.org/ns/synapse";
> class="org.wso2.carbon.message.store.persistence.jms.JMSMessageStore"
> name="testMsgStore">
>  name="java.naming.factory.initial">org.apache.qpid.jndi.PropertiesFileInitialContextFactory
>
>  name="java.naming.provider.url">repository/conf/jndi.properties
> MyQueue
> 
>
> Please note that "MyQueue" parameter you are defining @ jndi.properties
> file.
>

yes that was the problem

destination.dynamicQueues/
myqueue=jmsdestinationqueue; {create:always}
destination.myqueue=jmsdestinationqueue; {create:always}

{create:always} has caused the problem. If your scenario works without that
it is fine.

thanks,
Amila.




>
> Thanks
> -Ratha
>
>
>
> On 19 July 2011 11:50, Amila Suriarachchi  wrote:
>
>> This could be the bug that shankar found with the message store Qpid as
>> well. Please try with ESB 4.0.1
>>
>> thanks,
>> Amila.
>>
>> On Mon, Jul 18, 2011 at 11:16 PM, Vijayaratha Vijayasingam <
>> rat...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> This is how i configured ESB to work with qpid..
>>>
>>> I uncommented JMS transport receiver and sender  in axis2.xml.
>>>
>>> And jndi.properties file contains the following configuration
>>>
>>> connectionfactory.TopicConnectionFactory = amqp://admin:admin@carbon
>>> /carbon?brokerlist='tcp://localhost:5672'
>>> connectionfactory.QueueConnectionFactory = amqp://admin:admin@carbon
>>> /carbon?brokerlist='tcp://localhost:5672'
>>> destination.dynamicQueues/myqueue=jmsdestinationqueue; {create:always}
>>> destination.myqueue=jmsdestinationqueue; {create:always}
>>>
>>> Now, when i create a message store , im getting follwoing exeception;
>>>
>>> [2011-07-18 22:57:03,048] ERROR - JMSMessageStore JMS error while
>>> retrieving messages from the store
>>> : testMsgStore
>>> javax.jms.JMSException: Error registering consumer:
>>> org.apache.qpid.AMQException: The name 'testMsgS
>>> tore_Queue' supplied in the address doesn't resolve to an exchange or a
>>> queue
>>> at
>>> org.apache.qpid.client.AMQSession$4.execute(AMQSession.java:2036)
>>>
>>>
>>> My 'MessageStore' configuration is as follows;
>>>
>>> http://ws.apache.org/ns/synapse";
>>> class="org.wso2.carbon.message.store.persistence.jms.JMSMessageStore"
>>> name="testMsgStore">
>>> >> name="java.naming.factory.initial">org.apache.qpid.jndi.PropertiesFileInitialContextFactory
>>> >> name="java.naming.provider.url">repository/conf/jndi.properties
>>> 
>>>
>>> How should i create a message store with Qpid?
>>>
>>> Thanks
>>> -Ratha.
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Configuring ESB 4.0.0 with Qpid..

2011-07-19 Thread Vijayaratha Vijayasingam
OK..will do..adding this @ ESB documentation also(since  we support Qpid)
Thanks
-Ratha.

On 19 July 2011 13:22, Supun Kamburugamuva  wrote:

> Hi Ratha,
>
> It'll be great if we can document these, may be in a KB?
>
> Thanks,
> Supun.
>
>
> On Tue, Jul 19, 2011 at 11:54 AM, Vijayaratha Vijayasingam <
> rat...@wso2.com> wrote:
>
>> I got resolved it ..with the following conf..
>>
>> 1) Edit axis2.xml file(ESB_HOME/rpository/conf/axis2.xml) like;
>>
>> Under transport In section;
>> 
>>  
>>  > class="org.apache.axis2.transport.jms.JMSListener">
>> 
>> > locked="false">org.apache.qpid.jndi.PropertiesFileInitialContextFactory
>>
>> > locked="false">repository/conf/jndi.properties
>> > locked="false">TopicConnectionFactory
>> > locked="false">topic
>> 
>>
>> 
>> > locked="false">org.apache.qpid.jndi.PropertiesFileInitialContextFactory
>>
>> > locked="false">repository/conf/jndi.properties
>> > locked="false">QueueConnectionFactory
>> > locked="false">queue
>> 
>> 
>>
>> Under Transport Outs section;
>>
>>   
>>  > class="org.apache.axis2.transport.jms.JMSSender"/>
>>
>> 2) At jndi.properties file(ESB_HOME/repository/conf/jndi.properties);
>>
>> Add following lines to create connectionfactory, queue , topic etc..
>> connectionfactory.TopicConnectionFactory = amqp://admin:admin@carbon
>> /carbon?brokerlist='tcp://localhost:5672'
>> connectionfactory.QueueConnectionFactory = amqp://admin:admin@carbon
>> /carbon?brokerlist='tcp://localhost:5672'
>> queue.MyQueue = example.MyQueue
>>
>> 3) Your MessageStore configuartaion should have minimum three parameters;
>>
>> http://ws.apache.org/ns/synapse";
>> class="org.wso2.carbon.message.store.persistence.jms.JMSMessageStore"
>> name="testMsgStore">
>> > name="java.naming.factory.initial">org.apache.qpid.jndi.PropertiesFileInitialContextFactory
>>
>> > name="java.naming.provider.url">repository/conf/jndi.properties
>> MyQueue
>> 
>>
>> Please note that "MyQueue" parameter you are defining @ jndi.properties
>> file.
>>
>> Thanks
>> -Ratha
>>
>>
>>
>> On 19 July 2011 11:50, Amila Suriarachchi  wrote:
>>
>>> This could be the bug that shankar found with the message store Qpid as
>>> well. Please try with ESB 4.0.1
>>>
>>> thanks,
>>> Amila.
>>>
>>> On Mon, Jul 18, 2011 at 11:16 PM, Vijayaratha Vijayasingam <
>>> rat...@wso2.com> wrote:
>>>
 Hi,

 This is how i configured ESB to work with qpid..

 I uncommented JMS transport receiver and sender  in axis2.xml.

 And jndi.properties file contains the following configuration

 connectionfactory.TopicConnectionFactory = amqp://admin:admin@carbon
 /carbon?brokerlist='tcp://localhost:5672'
 connectionfactory.QueueConnectionFactory = amqp://admin:admin@carbon
 /carbon?brokerlist='tcp://localhost:5672'
 destination.dynamicQueues/myqueue=jmsdestinationqueue; {create:always}
 destination.myqueue=jmsdestinationqueue; {create:always}

 Now, when i create a message store , im getting follwoing exeception;

 [2011-07-18 22:57:03,048] ERROR - JMSMessageStore JMS error while
 retrieving messages from the store
 : testMsgStore
 javax.jms.JMSException: Error registering consumer:
 org.apache.qpid.AMQException: The name 'testMsgS
 tore_Queue' supplied in the address doesn't resolve to an exchange or a
 queue
 at
 org.apache.qpid.client.AMQSession$4.execute(AMQSession.java:2036)


 My 'MessageStore' configuration is as follows;

 http://ws.apache.org/ns/synapse";
 class="org.wso2.carbon.message.store.persistence.jms.JMSMessageStore"
 name="testMsgStore">
 >>> name="java.naming.factory.initial">org.apache.qpid.jndi.PropertiesFileInitialContextFactory
 >>> name="java.naming.provider.url">repository/conf/jndi.properties
 

 How should i create a message store with Qpid?

 Thanks
 -Ratha.

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Configuring ESB 4.0.0 with Qpid..

2011-07-19 Thread Supun Kamburugamuva
Hi Ratha,

It'll be great if we can document these, may be in a KB?

Thanks,
Supun.

On Tue, Jul 19, 2011 at 11:54 AM, Vijayaratha Vijayasingam
wrote:

> I got resolved it ..with the following conf..
>
> 1) Edit axis2.xml file(ESB_HOME/rpository/conf/axis2.xml) like;
>
> Under transport In section;
> 
>  
>   class="org.apache.axis2.transport.jms.JMSListener">
> 
>  locked="false">org.apache.qpid.jndi.PropertiesFileInitialContextFactory
>
>  locked="false">repository/conf/jndi.properties
>  locked="false">TopicConnectionFactory
>  locked="false">topic
> 
>
> 
>  locked="false">org.apache.qpid.jndi.PropertiesFileInitialContextFactory
>
>  locked="false">repository/conf/jndi.properties
>  locked="false">QueueConnectionFactory
>  locked="false">queue
> 
> 
>
> Under Transport Outs section;
>
>   
>   class="org.apache.axis2.transport.jms.JMSSender"/>
>
> 2) At jndi.properties file(ESB_HOME/repository/conf/jndi.properties);
>
> Add following lines to create connectionfactory, queue , topic etc..
> connectionfactory.TopicConnectionFactory = amqp://admin:admin@carbon
> /carbon?brokerlist='tcp://localhost:5672'
> connectionfactory.QueueConnectionFactory = amqp://admin:admin@carbon
> /carbon?brokerlist='tcp://localhost:5672'
> queue.MyQueue = example.MyQueue
>
> 3) Your MessageStore configuartaion should have minimum three parameters;
>
> http://ws.apache.org/ns/synapse";
> class="org.wso2.carbon.message.store.persistence.jms.JMSMessageStore"
> name="testMsgStore">
>  name="java.naming.factory.initial">org.apache.qpid.jndi.PropertiesFileInitialContextFactory
>
>  name="java.naming.provider.url">repository/conf/jndi.properties
> MyQueue
> 
>
> Please note that "MyQueue" parameter you are defining @ jndi.properties
> file.
>
> Thanks
> -Ratha
>
>
>
> On 19 July 2011 11:50, Amila Suriarachchi  wrote:
>
>> This could be the bug that shankar found with the message store Qpid as
>> well. Please try with ESB 4.0.1
>>
>> thanks,
>> Amila.
>>
>> On Mon, Jul 18, 2011 at 11:16 PM, Vijayaratha Vijayasingam <
>> rat...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> This is how i configured ESB to work with qpid..
>>>
>>> I uncommented JMS transport receiver and sender  in axis2.xml.
>>>
>>> And jndi.properties file contains the following configuration
>>>
>>> connectionfactory.TopicConnectionFactory = amqp://admin:admin@carbon
>>> /carbon?brokerlist='tcp://localhost:5672'
>>> connectionfactory.QueueConnectionFactory = amqp://admin:admin@carbon
>>> /carbon?brokerlist='tcp://localhost:5672'
>>> destination.dynamicQueues/myqueue=jmsdestinationqueue; {create:always}
>>> destination.myqueue=jmsdestinationqueue; {create:always}
>>>
>>> Now, when i create a message store , im getting follwoing exeception;
>>>
>>> [2011-07-18 22:57:03,048] ERROR - JMSMessageStore JMS error while
>>> retrieving messages from the store
>>> : testMsgStore
>>> javax.jms.JMSException: Error registering consumer:
>>> org.apache.qpid.AMQException: The name 'testMsgS
>>> tore_Queue' supplied in the address doesn't resolve to an exchange or a
>>> queue
>>> at
>>> org.apache.qpid.client.AMQSession$4.execute(AMQSession.java:2036)
>>>
>>>
>>> My 'MessageStore' configuration is as follows;
>>>
>>> http://ws.apache.org/ns/synapse";
>>> class="org.wso2.carbon.message.store.persistence.jms.JMSMessageStore"
>>> name="testMsgStore">
>>> >> name="java.naming.factory.initial">org.apache.qpid.jndi.PropertiesFileInitialContextFactory
>>> >> name="java.naming.provider.url">repository/conf/jndi.properties
>>> 
>>>
>>> How should i create a message store with Qpid?
>>>
>>> Thanks
>>> -Ratha.
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Configuring ESB 4.0.0 with Qpid..

2011-07-18 Thread Vijayaratha Vijayasingam
I got resolved it ..with the following conf..

1) Edit axis2.xml file(ESB_HOME/rpository/conf/axis2.xml) like;

Under transport In section;

 
 

org.apache.qpid.jndi.PropertiesFileInitialContextFactory

repository/conf/jndi.properties
TopicConnectionFactory
topic



org.apache.qpid.jndi.PropertiesFileInitialContextFactory

repository/conf/jndi.properties
QueueConnectionFactory
queue



Under Transport Outs section;

  
 

2) At jndi.properties file(ESB_HOME/repository/conf/jndi.properties);

Add following lines to create connectionfactory, queue , topic etc..
connectionfactory.TopicConnectionFactory = amqp://admin:admin@carbon
/carbon?brokerlist='tcp://localhost:5672'
connectionfactory.QueueConnectionFactory = amqp://admin:admin@carbon
/carbon?brokerlist='tcp://localhost:5672'
queue.MyQueue = example.MyQueue

3) Your MessageStore configuartaion should have minimum three parameters;

http://ws.apache.org/ns/synapse";
class="org.wso2.carbon.message.store.persistence.jms.JMSMessageStore"
name="testMsgStore">
org.apache.qpid.jndi.PropertiesFileInitialContextFactory

repository/conf/jndi.properties
MyQueue


Please note that "MyQueue" parameter you are defining @ jndi.properties
file.

Thanks
-Ratha


On 19 July 2011 11:50, Amila Suriarachchi  wrote:

> This could be the bug that shankar found with the message store Qpid as
> well. Please try with ESB 4.0.1
>
> thanks,
> Amila.
>
> On Mon, Jul 18, 2011 at 11:16 PM, Vijayaratha Vijayasingam <
> rat...@wso2.com> wrote:
>
>> Hi,
>>
>> This is how i configured ESB to work with qpid..
>>
>> I uncommented JMS transport receiver and sender  in axis2.xml.
>>
>> And jndi.properties file contains the following configuration
>>
>> connectionfactory.TopicConnectionFactory = amqp://admin:admin@carbon
>> /carbon?brokerlist='tcp://localhost:5672'
>> connectionfactory.QueueConnectionFactory = amqp://admin:admin@carbon
>> /carbon?brokerlist='tcp://localhost:5672'
>> destination.dynamicQueues/myqueue=jmsdestinationqueue; {create:always}
>> destination.myqueue=jmsdestinationqueue; {create:always}
>>
>> Now, when i create a message store , im getting follwoing exeception;
>>
>> [2011-07-18 22:57:03,048] ERROR - JMSMessageStore JMS error while
>> retrieving messages from the store
>> : testMsgStore
>> javax.jms.JMSException: Error registering consumer:
>> org.apache.qpid.AMQException: The name 'testMsgS
>> tore_Queue' supplied in the address doesn't resolve to an exchange or a
>> queue
>> at
>> org.apache.qpid.client.AMQSession$4.execute(AMQSession.java:2036)
>>
>>
>> My 'MessageStore' configuration is as follows;
>>
>> http://ws.apache.org/ns/synapse";
>> class="org.wso2.carbon.message.store.persistence.jms.JMSMessageStore"
>> name="testMsgStore">
>> > name="java.naming.factory.initial">org.apache.qpid.jndi.PropertiesFileInitialContextFactory
>> > name="java.naming.provider.url">repository/conf/jndi.properties
>> 
>>
>> How should i create a message store with Qpid?
>>
>> Thanks
>> -Ratha.
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Configuring ESB 4.0.0 with Qpid..

2011-07-18 Thread Amila Suriarachchi
This could be the bug that shankar found with the message store Qpid as
well. Please try with ESB 4.0.1

thanks,
Amila.

On Mon, Jul 18, 2011 at 11:16 PM, Vijayaratha Vijayasingam
wrote:

> Hi,
>
> This is how i configured ESB to work with qpid..
>
> I uncommented JMS transport receiver and sender  in axis2.xml.
>
> And jndi.properties file contains the following configuration
>
> connectionfactory.TopicConnectionFactory = amqp://admin:admin@carbon
> /carbon?brokerlist='tcp://localhost:5672'
> connectionfactory.QueueConnectionFactory = amqp://admin:admin@carbon
> /carbon?brokerlist='tcp://localhost:5672'
> destination.dynamicQueues/myqueue=jmsdestinationqueue; {create:always}
> destination.myqueue=jmsdestinationqueue; {create:always}
>
> Now, when i create a message store , im getting follwoing exeception;
>
> [2011-07-18 22:57:03,048] ERROR - JMSMessageStore JMS error while
> retrieving messages from the store
> : testMsgStore
> javax.jms.JMSException: Error registering consumer:
> org.apache.qpid.AMQException: The name 'testMsgS
> tore_Queue' supplied in the address doesn't resolve to an exchange or a
> queue
> at
> org.apache.qpid.client.AMQSession$4.execute(AMQSession.java:2036)
>
>
> My 'MessageStore' configuration is as follows;
>
> http://ws.apache.org/ns/synapse";
> class="org.wso2.carbon.message.store.persistence.jms.JMSMessageStore"
> name="testMsgStore">
>  name="java.naming.factory.initial">org.apache.qpid.jndi.PropertiesFileInitialContextFactory
>  name="java.naming.provider.url">repository/conf/jndi.properties
> 
>
> How should i create a message store with Qpid?
>
> Thanks
> -Ratha.
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Configuring ESB 4.0.0 with Qpid..

2011-07-18 Thread Vijayaratha Vijayasingam
Hi,

This is how i configured ESB to work with qpid..

I uncommented JMS transport receiver and sender  in axis2.xml.

And jndi.properties file contains the following configuration

connectionfactory.TopicConnectionFactory = amqp://admin:admin@carbon
/carbon?brokerlist='tcp://localhost:5672'
connectionfactory.QueueConnectionFactory = amqp://admin:admin@carbon
/carbon?brokerlist='tcp://localhost:5672'
destination.dynamicQueues/myqueue=jmsdestinationqueue; {create:always}
destination.myqueue=jmsdestinationqueue; {create:always}

Now, when i create a message store , im getting follwoing exeception;

[2011-07-18 22:57:03,048] ERROR - JMSMessageStore JMS error while retrieving
messages from the store
: testMsgStore
javax.jms.JMSException: Error registering consumer:
org.apache.qpid.AMQException: The name 'testMsgS
tore_Queue' supplied in the address doesn't resolve to an exchange or a
queue
at org.apache.qpid.client.AMQSession$4.execute(AMQSession.java:2036)


My 'MessageStore' configuration is as follows;

http://ws.apache.org/ns/synapse";
class="org.wso2.carbon.message.store.persistence.jms.JMSMessageStore"
name="testMsgStore">
org.apache.qpid.jndi.PropertiesFileInitialContextFactory
repository/conf/jndi.properties


How should i create a message store with Qpid?

Thanks
-Ratha.
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev