Yes I tried the hornetq-all.jar and it works fine. But hornetq-all.jar does
not contain the javax.jms package.
I want to replace the old javax.jms (1.1) package with the new javax.jms
(2.0) package, and I can't really figure out the place where I should put
jar file it into. Coping it into  <ESB_HOME>/repository/components/lib
folder doesn't work.
Any idea on how to do that?

Thank you!


On Tue, May 5, 2015 at 9:10 AM, Shafreen Anfar <[email protected]> wrote:

> Hi Eranda,
>
> According to the documentation, it seems we need to use javax.jms package
> that comes with the JDK. IMO, using the hornetq-all.jar which is provided
> in the documentation should work. Did you try the provided jar ?
>
> On Tue, May 5, 2015 at 5:58 AM, eranda rajapaksha <[email protected]>
> wrote:
>
>> hi
>> I am trying to run ESB JMS transport with HornetQ message broker. Sample
>> given here [1] works fine when I add the hornetq-all.jar to the
>> <ESB_HOME>/repository/components/lib folder, and now I am trying to add all
>> the jars manually (without using pre-packaged hornetq-all.jar). In the [1]
>> it is stated that
>> "If you are packing the JARs yourself, make sure you remove the javax.jms
>> package from this assembled JAR to avoid the carbon runtime from picking
>> this implementation of JMS over the bundled-in distribution".
>> Does it mean javax.jms package comes inside the ESB and we don't have to
>> add it to the library separately? And which jars should I add from
>> <hornetq_HOME>/lib to <ESB_HOME>/repository/components/lib folder insted of
>> adding hornetq-all.jar?
>>
>> [1]. https://docs.wso2.com/display/ESB481/Configure+with+HornetQ
>>
>> Thank you!
>>
>> --
>> *Eranda Rajapakshe*
>> Computer Science and Engineering Undergraduate,
>> University of Moratuwa.
>> Tel : +94784822608
>> Email : [email protected] <[email protected]>
>>
>
>
>
> --
> Regards,
> *Shafreen*
> Software Engineer
> WSO2 Inc
> Mobile : 077-556-395-1
>



-- 
*Eranda Rajapakshe*
Computer Science and Engineering Undergraduate,
University of Moratuwa.
Tel : +94784822608
Email : [email protected] <[email protected]>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to