You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by vezee <ar...@yahoo.com> on 2009/09/08 22:10:06 UTC

AMQ - MSMQ bridge ... possible?

Problem statement: Want to create a forward bridge from AMQ to MSMQ. Post the
messages to AMQ and let clients read the messages from MSMQ.

Platform: Solaris 10 / JDK "1.5.0_15"

What i tried so far: 
1. Installed the Fuse message router(as per documentation) and copied the
apache-camel-1.6.1.2-fuse.jar to AMQ's lib directory
2. in activemq.xml, under camelContext added the below lines:

-------------------
        <route>
            <from uri="activemq:queue:TESTQ"/>
            <to
uri="msmq::remoteServer:1801\\private$\\ActiveMQTest?deliveryPersistent=true"/>
        </route>
------------------
3. when AMQ broker is re-started, seeing the following error messages in the
AMQ log & broker EXITS:

------------------
INFO  CamelNamespaceHandler          - camel-osgi.jar not detected in
classpath
INFO  DefaultCamelContext            - Apache Camel  (CamelContext:camel) is
starting
Failed to execute main task. Reason: java.lang.UnsatisfiedLinkError: no
msmq_native_support in java.library.path
------------------

First of all, is my approach correct? 
Are steps 1 & 2 in line to solve the problem statement?
How to resolve this issue and make the AMQ-MSMQ bridge work?

-vezee

-- 
View this message in context: http://www.nabble.com/AMQ---MSMQ-bridge-...-possible--tp25353204p25353204.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: AMQ - MSMQ bridge ... possible?

Posted by vezee <ar...@yahoo.com>.
If i am not wrong, isn't camel-msmq component goes on windows box and is used
for MSMQ to AMQ bridge?

We have a scenario where we have AMQ on Solaris and have a requirement to
forward the messages to MSMQ directly from AMQ. Is there a way to do this?

See my Original post which has details of what i have already tried.

-vezee
-------------------------

The best solution is to use Apache Camel - see
http://camel.apache.org/msmq.html
On 9 Sep 2009, at 16:05, vezee wrote:

>
> AMQ experts please HELP!!
>
> Is there a way to configure One way Forward bridge from ActiveMQ
> 5.20(Solaris/Linux)) to MSMQ(windows)? We want this for our prototype.
>
> If yes, please provide some details.
>
> -vezee
-- 
View this message in context: http://www.nabble.com/AMQ---MSMQ-bridge-...-possible--tp25353204p25370064.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: AMQ - MSMQ bridge ... possible?

Posted by Rob Davies <ra...@gmail.com>.
The best solution is to use Apache Camel - see http://camel.apache.org/msmq.html
On 9 Sep 2009, at 16:05, vezee wrote:

>
> AMQ experts please HELP!!
>
> Is there a way to configure One way Forward bridge from ActiveMQ
> 5.20(Solaris/Linux)) to MSMQ(windows)? We want this for our prototype.
>
> If yes, please provide some details.
>
> -vezee
>
>
>
> vezee wrote:
>> Problem statement: Want to create a forward bridge from AMQ to  
>> MSMQ. Post
>> the
>> messages to AMQ and let clients read the messages from MSMQ.
>>
>> Platform: Solaris 10 / JDK "1.5.0_15"
>>
>> What i tried so far:
>> 1. Installed the Fuse message router(as per documentation) and  
>> copied the
>> apache-camel-1.6.1.2-fuse.jar to AMQ's lib directory
>> 2. in activemq.xml, under camelContext added the below lines:
>>
>> -------------------
>>        <route>
>>            <from uri="activemq:queue:TESTQ"/>
>>            <to
>> uri="msmq::remoteServer:1801\\private$\\ActiveMQTest? 
>> deliveryPersistent=true"/>
>>        </route>
>> ------------------
>> 3. when AMQ broker is re-started, seeing the following error  
>> messages in
>> the
>> AMQ log & broker EXITS:
>>
>> ------------------
>> INFO  CamelNamespaceHandler          - camel-osgi.jar not detected in
>> classpath
>> INFO  DefaultCamelContext            - Apache Camel   
>> (CamelContext:camel)
>> is
>> starting
>> Failed to execute main task. Reason:  
>> java.lang.UnsatisfiedLinkError: no
>> msmq_native_support in java.library.path
>> ------------------
>>
>> First of all, is my approach correct?
>> Are steps 1 & 2 in line to solve the problem statement?
>> How to resolve this issue and make the AMQ-MSMQ bridge work?
>>
>> -vezee
>>
>>
>
>
>
>
> -- 
> View this message in context: http://www.nabble.com/AMQ---MSMQ-bridge-...-possible--tp25353204p25366925.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Rob Davies
I work here: http://fusesource.com
My Blog: http://rajdavies.blogspot.com/
I'm writing this: http://www.manning.com/snyder/





Re: AMQ - MSMQ bridge ... possible?

Posted by vezee <ar...@yahoo.com>.
AMQ experts please HELP!!

Is there a way to configure One way Forward bridge from ActiveMQ
5.20(Solaris/Linux)) to MSMQ(windows)? We want this for our prototype.

If yes, please provide some details.

-vezee



vezee wrote:
> Problem statement: Want to create a forward bridge from AMQ to MSMQ. Post
> the
> messages to AMQ and let clients read the messages from MSMQ.
>
> Platform: Solaris 10 / JDK "1.5.0_15"
>
> What i tried so far: 
> 1. Installed the Fuse message router(as per documentation) and copied the
> apache-camel-1.6.1.2-fuse.jar to AMQ's lib directory
> 2. in activemq.xml, under camelContext added the below lines:
>
> -------------------
>         <route>
>             <from uri="activemq:queue:TESTQ"/>
>             <to
> uri="msmq::remoteServer:1801\\private$\\ActiveMQTest?deliveryPersistent=true"/>
>         </route>
> ------------------
> 3. when AMQ broker is re-started, seeing the following error messages in
> the
> AMQ log & broker EXITS:
>
> ------------------
> INFO  CamelNamespaceHandler          - camel-osgi.jar not detected in
> classpath
> INFO  DefaultCamelContext            - Apache Camel  (CamelContext:camel)
> is
> starting
> Failed to execute main task. Reason: java.lang.UnsatisfiedLinkError: no
> msmq_native_support in java.library.path
> ------------------
>
> First of all, is my approach correct? 
> Are steps 1 & 2 in line to solve the problem statement?
> How to resolve this issue and make the AMQ-MSMQ bridge work?
>
> -vezee
>
>   




-- 
View this message in context: http://www.nabble.com/AMQ---MSMQ-bridge-...-possible--tp25353204p25366925.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: AMQ - MSMQ bridge ... possible?

Posted by PlugTree <pl...@gmail.com>.
vezee: you need the Microsoft Native libraries for MSMQ on Solaris (I 
don't know if there's any). Could help you find out with my MS folks...

PlugTree.com

vezee wrote:
> Problem statement: Want to create a forward bridge from AMQ to MSMQ. Post the
> messages to AMQ and let clients read the messages from MSMQ.
>
> Platform: Solaris 10 / JDK "1.5.0_15"
>
> What i tried so far: 
> 1. Installed the Fuse message router(as per documentation) and copied the
> apache-camel-1.6.1.2-fuse.jar to AMQ's lib directory
> 2. in activemq.xml, under camelContext added the below lines:
>
> -------------------
>         <route>
>             <from uri="activemq:queue:TESTQ"/>
>             <to
> uri="msmq::remoteServer:1801\\private$\\ActiveMQTest?deliveryPersistent=true"/>
>         </route>
> ------------------
> 3. when AMQ broker is re-started, seeing the following error messages in the
> AMQ log & broker EXITS:
>
> ------------------
> INFO  CamelNamespaceHandler          - camel-osgi.jar not detected in
> classpath
> INFO  DefaultCamelContext            - Apache Camel  (CamelContext:camel) is
> starting
> Failed to execute main task. Reason: java.lang.UnsatisfiedLinkError: no
> msmq_native_support in java.library.path
> ------------------
>
> First of all, is my approach correct? 
> Are steps 1 & 2 in line to solve the problem statement?
> How to resolve this issue and make the AMQ-MSMQ bridge work?
>
> -vezee
>
>