You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Kruttik <kr...@gmail.com> on 2006/12/04 20:29:07 UTC
where to find the servicemix-drools componant
Hi,
I want to use the drools componant in in-out mep and i came to know that to
achieve this i need to use the servicemix-drools componant. I currently have
servicemix 3.0 which doesnt include the componant. I tried searching for the
3.1 binary but in the download section it doesnt exist. So i downloaded the
source for 3.1 and still couldnt find it there.
Please help me. Can u also tell me if I find the componant, can I install it
in servicemix 3.0 or do i need to use the 3.1 version only. and if no then
where to find the 3.1 binaries.
thanks in advance
--
View this message in context: http://www.nabble.com/where-to-find-the-servicemix-drools-componant-tf2756059s12049.html#a7685392
Sent from the ServiceMix - User mailing list archive at Nabble.com.
RE: where to find the servicemix-drools componant
Posted by ra...@wipro.com.
I think you meant jbi.route
jbi is nothing but the application data identifier...(org.apache.servicemix.components.drools.JbiHelper)
you can call the jbi.route using java semantics for drools as jbi.forwardToService is called in the below snippet.
<rule-set name="cheese rules"
xmlns="http://drools.org/rules"
xmlns:java="http://drools.org/semantics/java">
<application-data identifier="jbi">org.apache.servicemix.components.drools.JbiHelper</application-data>
<application-data identifier="context">javax.jbi.component.ComponentContext</application-data>
<application-data identifier="deliveryChannel">javax.jbi.messaging.DeliveryChannel</application-data>
<rule name="Ignore 2 message">
<parameter identifier="exchange">
<class>javax.jbi.messaging.MessageExchange</class>
</parameter>
<java:condition>"2".equals(exchange.getMessage("in").getProperty("idText")) == false</java:condition>
<java:consequence>
// lets try send a message
jbi.forwardToService("http://servicemix.org/cheese/", "receiver");
</java:consequence>
</rule>
</rule-set>
________________________________
From: Kruttik [mailto:kruttikagarwal@gmail.com]
Sent: Tue 12/5/2006 8:19 PM
To: servicemix-users@geronimo.apache.org
Subject: RE: where to find the servicemix-drools componant
Thaks rabi,
Can u also please answer my other question. How do i use jbi:route method of
drools if i have 3.0. Is there a way out.
thanks
rabi wrote:
>
>
> Hi,
>
> There two types of components in servicemix...
>
> - JBI components (SEs and BCs)
> - LW components (SEs and BCs)
>
> JBI components can be hot deployed where as the LWs can only be
> configured before startup. But, there is a catch, LW components can be
> hot deployed using the LW Container component (similar to any other
> componet like BPE, EIP etc)
>
> There is not Drools JBI component at present, this would be availabe in
>>=3.1. The documentation in the wiki talks about this. You can find the
> work if you check-out the svn trunk.
>
> In the latest version available at apache, you can use the drools
> component either by direct configuration in the main servicemix.xml or
> by by hot deployed as part of LWContainer JBI component.
>
>
> Note: These are very clearly mentioned in the wiki.
>
>
> Regards,
> Rabi
> -----Original Message-----
> From: Kruttik [mailto:kruttikagarwal@gmail.com]
> Sent: Tuesday, December 05, 2006 4:06 AM
> To: servicemix-users@geronimo.apache.org
> Subject: Re: where to find the servicemix-drools componant
>
>
> Hi,
> Since I am newbie to service mix, it would be a lot of help if u can
> tell me step by step. I understand that drools is lw componant and that
> I need to deploy the SU on the lw container.
>
> If I have servicemix 3.0, can i use the existing the drools componant
> for in-out MEP. From what i saw in the servicemix-drools documentation,
> it says
> that:-
>
> "The ServiceMix Drools component provides JBI integration to the Drools
> Rules Engine.
>
> Note that this component is only available in releases >= 3.1 and
> deprecate the older lightweight Drools component"
>
> This is what is confusing me.
> Is the 3.0 drools dist including the jbi:route method? I need to use. If
> not then can u tell me step by step how to use it?
>
> Thanks again
>
>
> bsnyder wrote:
>>
>> On 12/4/06, Kruttik <kr...@gmail.com> wrote:
>>>
>>> Hi,
>>> I want to use the drools componant in in-out mep and i came to know
>>> that to achieve this i need to use the servicemix-drools componant. I
>
>>> currently have servicemix 3.0 which doesnt include the componant. I
>>> tried searching for the
>>> 3.1 binary but in the download section it doesnt exist. So i
>>> downloaded the source for 3.1 and still couldnt find it there.
>>>
>>> Please help me. Can u also tell me if I find the componant, can I
>>> install it in servicemix 3.0 or do i need to use the 3.1 version
>>> only. and if no then where to find the 3.1 binaries.
>>
>> Kruttik, the Drools component is available in the source distribution
>> of ServiceMix and is a lightweight component that is part of the
>> servicemix-components. These are lightweight components that are
>> dependent upon the servicemix-lwcontainer.
>>
>> Bruce
>> --
>> perl -e 'print
>> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
>> );'
>>
>> Apache Geronimo - http://geronimo.apache.org/ Apache ActiveMQ -
>> http://activemq.org/ Apache ServiceMix - http://servicemix.org/ Castor
>
>> - http://castor.org/
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/where-to-find-the-servicemix-drools-componant-tf27
> 56059s12049.html#a7689100
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you
> are not the intended recipient, you should not disseminate, distribute or
> copy this e-mail. Please notify the sender immediately and destroy all
> copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>
> www.wipro.com
>
>
--
View this message in context: http://www.nabble.com/where-to-find-the-servicemix-drools-componant-tf2756059s12049.html#a7700647
Sent from the ServiceMix - User mailing list archive at Nabble.com.
RE: where to find the servicemix-drools componant
Posted by Kruttik <kr...@gmail.com>.
Thaks rabi,
Can u also please answer my other question. How do i use jbi:route method of
drools if i have 3.0. Is there a way out.
thanks
rabi wrote:
>
>
> Hi,
>
> There two types of components in servicemix...
>
> - JBI components (SEs and BCs)
> - LW components (SEs and BCs)
>
> JBI components can be hot deployed where as the LWs can only be
> configured before startup. But, there is a catch, LW components can be
> hot deployed using the LW Container component (similar to any other
> componet like BPE, EIP etc)
>
> There is not Drools JBI component at present, this would be availabe in
>>=3.1. The documentation in the wiki talks about this. You can find the
> work if you check-out the svn trunk.
>
> In the latest version available at apache, you can use the drools
> component either by direct configuration in the main servicemix.xml or
> by by hot deployed as part of LWContainer JBI component.
>
>
> Note: These are very clearly mentioned in the wiki.
>
>
> Regards,
> Rabi
> -----Original Message-----
> From: Kruttik [mailto:kruttikagarwal@gmail.com]
> Sent: Tuesday, December 05, 2006 4:06 AM
> To: servicemix-users@geronimo.apache.org
> Subject: Re: where to find the servicemix-drools componant
>
>
> Hi,
> Since I am newbie to service mix, it would be a lot of help if u can
> tell me step by step. I understand that drools is lw componant and that
> I need to deploy the SU on the lw container.
>
> If I have servicemix 3.0, can i use the existing the drools componant
> for in-out MEP. From what i saw in the servicemix-drools documentation,
> it says
> that:-
>
> "The ServiceMix Drools component provides JBI integration to the Drools
> Rules Engine.
>
> Note that this component is only available in releases >= 3.1 and
> deprecate the older lightweight Drools component"
>
> This is what is confusing me.
> Is the 3.0 drools dist including the jbi:route method? I need to use. If
> not then can u tell me step by step how to use it?
>
> Thanks again
>
>
> bsnyder wrote:
>>
>> On 12/4/06, Kruttik <kr...@gmail.com> wrote:
>>>
>>> Hi,
>>> I want to use the drools componant in in-out mep and i came to know
>>> that to achieve this i need to use the servicemix-drools componant. I
>
>>> currently have servicemix 3.0 which doesnt include the componant. I
>>> tried searching for the
>>> 3.1 binary but in the download section it doesnt exist. So i
>>> downloaded the source for 3.1 and still couldnt find it there.
>>>
>>> Please help me. Can u also tell me if I find the componant, can I
>>> install it in servicemix 3.0 or do i need to use the 3.1 version
>>> only. and if no then where to find the 3.1 binaries.
>>
>> Kruttik, the Drools component is available in the source distribution
>> of ServiceMix and is a lightweight component that is part of the
>> servicemix-components. These are lightweight components that are
>> dependent upon the servicemix-lwcontainer.
>>
>> Bruce
>> --
>> perl -e 'print
>> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
>> );'
>>
>> Apache Geronimo - http://geronimo.apache.org/ Apache ActiveMQ -
>> http://activemq.org/ Apache ServiceMix - http://servicemix.org/ Castor
>
>> - http://castor.org/
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/where-to-find-the-servicemix-drools-componant-tf27
> 56059s12049.html#a7689100
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you
> are not the intended recipient, you should not disseminate, distribute or
> copy this e-mail. Please notify the sender immediately and destroy all
> copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>
> www.wipro.com
>
>
--
View this message in context: http://www.nabble.com/where-to-find-the-servicemix-drools-componant-tf2756059s12049.html#a7700647
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: where to find the servicemix-drools componant
Posted by Kruttik <kr...@gmail.com>.
Hi,
Since I am newbie to service mix, it would be a lot of help if u can tell me
step by step. I understand that drools is lw componant and that I need to
deploy the SU on the lw container.
If I have servicemix 3.0, can i use the existing the drools componant for
in-out MEP. From what i saw in the servicemix-drools documentation, it says
that:-
"The ServiceMix Drools component provides JBI integration to the Drools
Rules Engine.
Note that this component is only available in releases >= 3.1 and deprecate
the older lightweight Drools component"
This is what is confusing me.
Is the 3.0 drools dist including the jbi:route method? I need to use. If not
then can u tell me step by step how to use it?
Thanks again
bsnyder wrote:
>
> On 12/4/06, Kruttik <kr...@gmail.com> wrote:
>>
>> Hi,
>> I want to use the drools componant in in-out mep and i came to know that
>> to
>> achieve this i need to use the servicemix-drools componant. I currently
>> have
>> servicemix 3.0 which doesnt include the componant. I tried searching for
>> the
>> 3.1 binary but in the download section it doesnt exist. So i downloaded
>> the
>> source for 3.1 and still couldnt find it there.
>>
>> Please help me. Can u also tell me if I find the componant, can I install
>> it
>> in servicemix 3.0 or do i need to use the 3.1 version only. and if no
>> then
>> where to find the 3.1 binaries.
>
> Kruttik, the Drools component is available in the source distribution
> of ServiceMix and is a lightweight component that is part of the
> servicemix-components. These are lightweight components that are
> dependent upon the servicemix-lwcontainer.
>
> Bruce
> --
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache Geronimo - http://geronimo.apache.org/
> Apache ActiveMQ - http://activemq.org/
> Apache ServiceMix - http://servicemix.org/
> Castor - http://castor.org/
>
>
--
View this message in context: http://www.nabble.com/where-to-find-the-servicemix-drools-componant-tf2756059s12049.html#a7689100
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: where to find the servicemix-drools componant
Posted by Bruce Snyder <br...@gmail.com>.
On 12/4/06, Kruttik <kr...@gmail.com> wrote:
>
> Hi,
> I want to use the drools componant in in-out mep and i came to know that to
> achieve this i need to use the servicemix-drools componant. I currently have
> servicemix 3.0 which doesnt include the componant. I tried searching for the
> 3.1 binary but in the download section it doesnt exist. So i downloaded the
> source for 3.1 and still couldnt find it there.
>
> Please help me. Can u also tell me if I find the componant, can I install it
> in servicemix 3.0 or do i need to use the 3.1 version only. and if no then
> where to find the 3.1 binaries.
Kruttik, the Drools component is available in the source distribution
of ServiceMix and is a lightweight component that is part of the
servicemix-components. These are lightweight components that are
dependent upon the servicemix-lwcontainer.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/