You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by stlecho <st...@gmail.com> on 2008/08/08 09:46:31 UTC

Availability of servicemix-mail

Hi,

On the servicemix-mail documentation page, I read the following: "Note that
this component is only available in releases >= 3.3.". But I can not find
any reference to v3.3 on the Download page.

When will v3.3 be available ?
Is there a way to use servicemix-mail with v3.2.1 ? 
How can I get the same functionality - i.e. sending mails - for v3.2.1 ?

Regards, Stefan Lecho.
-- 
View this message in context: http://www.nabble.com/Availability-of-servicemix-mail-tp18887255p18887255.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Availability of servicemix-mail

Posted by Lars Heinemann <la...@compart.net>.
Stefan,

it should be possible to use servicemix-mail also with smx 3.2.1.

Regards
Lars


Am Freitag 08 August 2008 09:46:31 schrieb stlecho:
> Hi,
>
> On the servicemix-mail documentation page, I read the following: "Note that
> this component is only available in releases >= 3.3.". But I can not find
> any reference to v3.3 on the Download page.
>
> When will v3.3 be available ?
> Is there a way to use servicemix-mail with v3.2.1 ?
> How can I get the same functionality - i.e. sending mails - for v3.2.1 ?
>
> Regards, Stefan Lecho.


Re: Availability of servicemix-mail

Posted by Gert Vanthienen <ge...@skynet.be>.
Stefan,

Like the error message says: you can not use SMTP to poll a mail server, 
that protocol is used for sending mails.  You should have an endpoint 
with pop:// or imap:// in the from() of your RouteBuilder.  If you look 
at the examples on the Camel component page I mentioned, you'll notice 
that the examples always use one of those protocols in the from() 
clauses as well.

Regards,

Gert

stlecho wrote:
> Gert,
>
> The RouteBuilder I'm using contains the following:
> "from("smtp://email1@company.com").to("smtp://email2@company.com")". 
>
> When launching the main method in Eclipse, I'm receiving "Protocol smtp can
> not be used for a MailConsumer. Please use another protocol such as pop3 or
> imap.". According to the camel documentation page, smtp should be supported.
> Is this an issue with ServiceMix ?
>
> When deploying the SU, I'm receiving "No endpoint could be found for:
> smtp://email1@company.com". It seems strange to me that the mailbox should
> be specified as an endpoint. How and why should I define this endpoint ?
>
> Regards, Stefan.
>
> Gert Vanthienen wrote:
>   
>> Stefan,
>>
>> No need to build it yourself -- we have snapshots available at 
>> http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/servicemix-mail/4.0-SNAPSHOT/.  
>> Not sure about it, but you might have to pick up the 4.0-SNAPSHOT 
>> version of shared library from that repository as well.
>>
>> If you choose to use camel-mail inside ServiceMix, I would recommend you 
>> to read through the ServiceMix & Camel tutorial at 
>> http://servicemix.apache.org/3-beginner-using-apache-camel-inside-servicemix.html 
>> to learn about how the two projects work together.  For configuring the 
>> mail poller in Camel, all you need to know is the correct URI syntax and 
>> that is being described at http://activemq.apache.org/camel/mail.html.  
>> The examples there send the mail message to a log/jms queue, but you can 
>> do anything in Camel with it -- just transform them into XML and send 
>> them to a JBI endpoint to integrate with any other ServiceMix service 
>> endpoint.
>>
>> Regards,
>>
>> Gert
>>
>> stlecho wrote:
>>     
>>> Lars,
>>>
>>> I'm relatively new to building ServiceMix components. Could you provide
>>> me
>>> some more details about "Just build servicemix-mail" ?
>>>
>>> Regards, Stefan.
>>>
>>> lhe77 wrote:
>>>   
>>>       
>>>> Just build servicemix-mail for yourself and use it.
>>>>
>>>> Regards
>>>> Lars
>>>>
>>>>
>>>> Am Montag 25 August 2008 15:11:08 schrieb stlecho:
>>>>     
>>>>         
>>>>> Gert,
>>>>>
>>>>> I would like to poll a mailserver and - based on the content of the
>>>>> message
>>>>> - send the attachements of the mail to a queue. Would it be possible to
>>>>> provide an example on how to configure this scenario with ServiceMix
>>>>> and
>>>>> Camel ?
>>>>>
>>>>> Regards, Stefan.
>>>>>
>>>>> Gert Vanthienen wrote:
>>>>>       
>>>>>           
>>>>>> Stefan,
>>>>>>
>>>>>> There's no release date on ServiceMix 3.3 yet.  You can use the
>>>>>> 4.0-SNAPSHOT components that are available from the Apache snapshot
>>>>>> repository at http://people.apache.org/repo/m2-snapshot-repository/ in
>>>>>> ServiceMix 3.2.x, but only if you replace all components with the
>>>>>> 4.0-SNAPSHOT versions (the shared library was changed). You can also
>>>>>> find a full 3.3-SNAPSHOT in the same repository, which might be more
>>>>>> convenient for you.
>>>>>>
>>>>>> If you want to send mails and still stick to the released version (the
>>>>>> latest one is 3.2.2), you can use Camel's camel-mail component inside
>>>>>> ServiceMix (cfr. http://activemq.apache.org/camel/mail.html).  I would
>>>>>> recommend you to upgrade to 3.2.2 because that comes with Camel 1.4.0
>>>>>> inside the component.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Gert
>>>>>>
>>>>>> stlecho wrote:
>>>>>>         
>>>>>>             
>>>>>>> Hi,
>>>>>>>
>>>>>>> On the servicemix-mail documentation page, I read the following:
>>>>>>> "Note
>>>>>>> that
>>>>>>> this component is only available in releases >= 3.3.". But I can not
>>>>>>> find any reference to v3.3 on the Download page.
>>>>>>>
>>>>>>> When will v3.3 be available ?
>>>>>>> Is there a way to use servicemix-mail with v3.2.1 ?
>>>>>>> How can I get the same functionality - i.e. sending mails - for
>>>>>>> v3.2.1
>>>>>>>           
>>>>>>>               
>>>>> ?
>>>>>       
>>>>>           
>>>>>>> Regards, Stefan Lecho.
>>>>>>>           
>>>>>>>               
>>>>>> -----
>>>>>> ---
>>>>>> Gert Vanthienen
>>>>>> http://www.anova.be
>>>>>>         
>>>>>>             
>>>>     
>>>>         
>>>   
>>>       
>>
>> -----
>> ---
>> Gert Vanthienen
>> http://www.anova.be
>>
>>     
>
>   


Re: Availability of servicemix-mail

Posted by stlecho <st...@gmail.com>.
Gert,

The RouteBuilder I'm using contains the following:
"from("smtp://email1@company.com").to("smtp://email2@company.com")". 

When launching the main method in Eclipse, I'm receiving "Protocol smtp can
not be used for a MailConsumer. Please use another protocol such as pop3 or
imap.". According to the camel documentation page, smtp should be supported.
Is this an issue with ServiceMix ?

When deploying the SU, I'm receiving "No endpoint could be found for:
smtp://email1@company.com". It seems strange to me that the mailbox should
be specified as an endpoint. How and why should I define this endpoint ?

Regards, Stefan.

Gert Vanthienen wrote:
> 
> Stefan,
> 
> No need to build it yourself -- we have snapshots available at 
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/servicemix-mail/4.0-SNAPSHOT/.  
> Not sure about it, but you might have to pick up the 4.0-SNAPSHOT 
> version of shared library from that repository as well.
> 
> If you choose to use camel-mail inside ServiceMix, I would recommend you 
> to read through the ServiceMix & Camel tutorial at 
> http://servicemix.apache.org/3-beginner-using-apache-camel-inside-servicemix.html 
> to learn about how the two projects work together.  For configuring the 
> mail poller in Camel, all you need to know is the correct URI syntax and 
> that is being described at http://activemq.apache.org/camel/mail.html.  
> The examples there send the mail message to a log/jms queue, but you can 
> do anything in Camel with it -- just transform them into XML and send 
> them to a JBI endpoint to integrate with any other ServiceMix service 
> endpoint.
> 
> Regards,
> 
> Gert
> 
> stlecho wrote:
>> Lars,
>>
>> I'm relatively new to building ServiceMix components. Could you provide
>> me
>> some more details about "Just build servicemix-mail" ?
>>
>> Regards, Stefan.
>>
>> lhe77 wrote:
>>   
>>> Just build servicemix-mail for yourself and use it.
>>>
>>> Regards
>>> Lars
>>>
>>>
>>> Am Montag 25 August 2008 15:11:08 schrieb stlecho:
>>>     
>>>> Gert,
>>>>
>>>> I would like to poll a mailserver and - based on the content of the
>>>> message
>>>> - send the attachements of the mail to a queue. Would it be possible to
>>>> provide an example on how to configure this scenario with ServiceMix
>>>> and
>>>> Camel ?
>>>>
>>>> Regards, Stefan.
>>>>
>>>> Gert Vanthienen wrote:
>>>>       
>>>>> Stefan,
>>>>>
>>>>> There's no release date on ServiceMix 3.3 yet.  You can use the
>>>>> 4.0-SNAPSHOT components that are available from the Apache snapshot
>>>>> repository at http://people.apache.org/repo/m2-snapshot-repository/ in
>>>>> ServiceMix 3.2.x, but only if you replace all components with the
>>>>> 4.0-SNAPSHOT versions (the shared library was changed). You can also
>>>>> find a full 3.3-SNAPSHOT in the same repository, which might be more
>>>>> convenient for you.
>>>>>
>>>>> If you want to send mails and still stick to the released version (the
>>>>> latest one is 3.2.2), you can use Camel's camel-mail component inside
>>>>> ServiceMix (cfr. http://activemq.apache.org/camel/mail.html).  I would
>>>>> recommend you to upgrade to 3.2.2 because that comes with Camel 1.4.0
>>>>> inside the component.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Gert
>>>>>
>>>>> stlecho wrote:
>>>>>         
>>>>>> Hi,
>>>>>>
>>>>>> On the servicemix-mail documentation page, I read the following:
>>>>>> "Note
>>>>>> that
>>>>>> this component is only available in releases >= 3.3.". But I can not
>>>>>> find any reference to v3.3 on the Download page.
>>>>>>
>>>>>> When will v3.3 be available ?
>>>>>> Is there a way to use servicemix-mail with v3.2.1 ?
>>>>>> How can I get the same functionality - i.e. sending mails - for
>>>>>> v3.2.1
>>>>>>           
>>>> ?
>>>>       
>>>>>> Regards, Stefan Lecho.
>>>>>>           
>>>>> -----
>>>>> ---
>>>>> Gert Vanthienen
>>>>> http://www.anova.be
>>>>>         
>>>
>>>     
>>
>>   
> 
> 
> 
> -----
> ---
> Gert Vanthienen
> http://www.anova.be
> 

-- 
View this message in context: http://www.nabble.com/Availability-of-servicemix-mail-tp18887255p19159231.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Availability of servicemix-mail

Posted by Gert Vanthienen <ge...@skynet.be>.
Stefan,

No need to build it yourself -- we have snapshots available at 
http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/servicemix-mail/4.0-SNAPSHOT/.  
Not sure about it, but you might have to pick up the 4.0-SNAPSHOT 
version of shared library from that repository as well.

If you choose to use camel-mail inside ServiceMix, I would recommend you 
to read through the ServiceMix & Camel tutorial at 
http://servicemix.apache.org/3-beginner-using-apache-camel-inside-servicemix.html 
to learn about how the two projects work together.  For configuring the 
mail poller in Camel, all you need to know is the correct URI syntax and 
that is being described at http://activemq.apache.org/camel/mail.html.  
The examples there send the mail message to a log/jms queue, but you can 
do anything in Camel with it -- just transform them into XML and send 
them to a JBI endpoint to integrate with any other ServiceMix service 
endpoint.

Regards,

Gert

stlecho wrote:
> Lars,
>
> I'm relatively new to building ServiceMix components. Could you provide me
> some more details about "Just build servicemix-mail" ?
>
> Regards, Stefan.
>
> lhe77 wrote:
>   
>> Just build servicemix-mail for yourself and use it.
>>
>> Regards
>> Lars
>>
>>
>> Am Montag 25 August 2008 15:11:08 schrieb stlecho:
>>     
>>> Gert,
>>>
>>> I would like to poll a mailserver and - based on the content of the
>>> message
>>> - send the attachements of the mail to a queue. Would it be possible to
>>> provide an example on how to configure this scenario with ServiceMix and
>>> Camel ?
>>>
>>> Regards, Stefan.
>>>
>>> Gert Vanthienen wrote:
>>>       
>>>> Stefan,
>>>>
>>>> There's no release date on ServiceMix 3.3 yet.  You can use the
>>>> 4.0-SNAPSHOT components that are available from the Apache snapshot
>>>> repository at http://people.apache.org/repo/m2-snapshot-repository/ in
>>>> ServiceMix 3.2.x, but only if you replace all components with the
>>>> 4.0-SNAPSHOT versions (the shared library was changed). You can also
>>>> find a full 3.3-SNAPSHOT in the same repository, which might be more
>>>> convenient for you.
>>>>
>>>> If you want to send mails and still stick to the released version (the
>>>> latest one is 3.2.2), you can use Camel's camel-mail component inside
>>>> ServiceMix (cfr. http://activemq.apache.org/camel/mail.html).  I would
>>>> recommend you to upgrade to 3.2.2 because that comes with Camel 1.4.0
>>>> inside the component.
>>>>
>>>> Regards,
>>>>
>>>> Gert
>>>>
>>>> stlecho wrote:
>>>>         
>>>>> Hi,
>>>>>
>>>>> On the servicemix-mail documentation page, I read the following: "Note
>>>>> that
>>>>> this component is only available in releases >= 3.3.". But I can not
>>>>> find any reference to v3.3 on the Download page.
>>>>>
>>>>> When will v3.3 be available ?
>>>>> Is there a way to use servicemix-mail with v3.2.1 ?
>>>>> How can I get the same functionality - i.e. sending mails - for v3.2.1
>>>>>           
>>> ?
>>>       
>>>>> Regards, Stefan Lecho.
>>>>>           
>>>> -----
>>>> ---
>>>> Gert Vanthienen
>>>> http://www.anova.be
>>>>         
>>
>>     
>
>   


Re: Availability of servicemix-mail

Posted by stlecho <st...@gmail.com>.
Lars,

I'm relatively new to building ServiceMix components. Could you provide me
some more details about "Just build servicemix-mail" ?

Regards, Stefan.

lhe77 wrote:
> 
> Just build servicemix-mail for yourself and use it.
> 
> Regards
> Lars
> 
> 
> Am Montag 25 August 2008 15:11:08 schrieb stlecho:
>> Gert,
>>
>> I would like to poll a mailserver and - based on the content of the
>> message
>> - send the attachements of the mail to a queue. Would it be possible to
>> provide an example on how to configure this scenario with ServiceMix and
>> Camel ?
>>
>> Regards, Stefan.
>>
>> Gert Vanthienen wrote:
>> > Stefan,
>> >
>> > There's no release date on ServiceMix 3.3 yet.  You can use the
>> > 4.0-SNAPSHOT components that are available from the Apache snapshot
>> > repository at http://people.apache.org/repo/m2-snapshot-repository/ in
>> > ServiceMix 3.2.x, but only if you replace all components with the
>> > 4.0-SNAPSHOT versions (the shared library was changed). You can also
>> > find a full 3.3-SNAPSHOT in the same repository, which might be more
>> > convenient for you.
>> >
>> > If you want to send mails and still stick to the released version (the
>> > latest one is 3.2.2), you can use Camel's camel-mail component inside
>> > ServiceMix (cfr. http://activemq.apache.org/camel/mail.html).  I would
>> > recommend you to upgrade to 3.2.2 because that comes with Camel 1.4.0
>> > inside the component.
>> >
>> > Regards,
>> >
>> > Gert
>> >
>> > stlecho wrote:
>> >> Hi,
>> >>
>> >> On the servicemix-mail documentation page, I read the following: "Note
>> >> that
>> >> this component is only available in releases >= 3.3.". But I can not
>> >> find any reference to v3.3 on the Download page.
>> >>
>> >> When will v3.3 be available ?
>> >> Is there a way to use servicemix-mail with v3.2.1 ?
>> >> How can I get the same functionality - i.e. sending mails - for v3.2.1
>> ?
>> >>
>> >> Regards, Stefan Lecho.
>> >
>> > -----
>> > ---
>> > Gert Vanthienen
>> > http://www.anova.be
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Availability-of-servicemix-mail-tp18887255p19144268.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Availability of servicemix-mail

Posted by Lars Heinemann <la...@compart.net>.
Just build servicemix-mail for yourself and use it.

Regards
Lars


Am Montag 25 August 2008 15:11:08 schrieb stlecho:
> Gert,
>
> I would like to poll a mailserver and - based on the content of the message
> - send the attachements of the mail to a queue. Would it be possible to
> provide an example on how to configure this scenario with ServiceMix and
> Camel ?
>
> Regards, Stefan.
>
> Gert Vanthienen wrote:
> > Stefan,
> >
> > There's no release date on ServiceMix 3.3 yet.  You can use the
> > 4.0-SNAPSHOT components that are available from the Apache snapshot
> > repository at http://people.apache.org/repo/m2-snapshot-repository/ in
> > ServiceMix 3.2.x, but only if you replace all components with the
> > 4.0-SNAPSHOT versions (the shared library was changed). You can also
> > find a full 3.3-SNAPSHOT in the same repository, which might be more
> > convenient for you.
> >
> > If you want to send mails and still stick to the released version (the
> > latest one is 3.2.2), you can use Camel's camel-mail component inside
> > ServiceMix (cfr. http://activemq.apache.org/camel/mail.html).  I would
> > recommend you to upgrade to 3.2.2 because that comes with Camel 1.4.0
> > inside the component.
> >
> > Regards,
> >
> > Gert
> >
> > stlecho wrote:
> >> Hi,
> >>
> >> On the servicemix-mail documentation page, I read the following: "Note
> >> that
> >> this component is only available in releases >= 3.3.". But I can not
> >> find any reference to v3.3 on the Download page.
> >>
> >> When will v3.3 be available ?
> >> Is there a way to use servicemix-mail with v3.2.1 ?
> >> How can I get the same functionality - i.e. sending mails - for v3.2.1 ?
> >>
> >> Regards, Stefan Lecho.
> >
> > -----
> > ---
> > Gert Vanthienen
> > http://www.anova.be


Re: Availability of servicemix-mail

Posted by stlecho <st...@gmail.com>.
Gert,

I would like to poll a mailserver and - based on the content of the message
- send the attachements of the mail to a queue. Would it be possible to
provide an example on how to configure this scenario with ServiceMix and
Camel ?

Regards, Stefan.


Gert Vanthienen wrote:
> 
> Stefan,
> 
> There's no release date on ServiceMix 3.3 yet.  You can use the 
> 4.0-SNAPSHOT components that are available from the Apache snapshot 
> repository at http://people.apache.org/repo/m2-snapshot-repository/ in 
> ServiceMix 3.2.x, but only if you replace all components with the 
> 4.0-SNAPSHOT versions (the shared library was changed). You can also 
> find a full 3.3-SNAPSHOT in the same repository, which might be more 
> convenient for you. 
> 
> If you want to send mails and still stick to the released version (the 
> latest one is 3.2.2), you can use Camel's camel-mail component inside 
> ServiceMix (cfr. http://activemq.apache.org/camel/mail.html).  I would 
> recommend you to upgrade to 3.2.2 because that comes with Camel 1.4.0 
> inside the component.
> 
> Regards,
> 
> Gert
> 
> stlecho wrote:
>> Hi,
>>
>> On the servicemix-mail documentation page, I read the following: "Note
>> that
>> this component is only available in releases >= 3.3.". But I can not find
>> any reference to v3.3 on the Download page.
>>
>> When will v3.3 be available ?
>> Is there a way to use servicemix-mail with v3.2.1 ? 
>> How can I get the same functionality - i.e. sending mails - for v3.2.1 ?
>>
>> Regards, Stefan Lecho.
>>   
> 
> 
> 
> -----
> ---
> Gert Vanthienen
> http://www.anova.be
> 

-- 
View this message in context: http://www.nabble.com/Availability-of-servicemix-mail-tp18887255p19143597.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Availability of servicemix-mail

Posted by Gert Vanthienen <ge...@skynet.be>.
Stefan,

There's no release date on ServiceMix 3.3 yet.  You can use the 
4.0-SNAPSHOT components that are available from the Apache snapshot 
repository at http://people.apache.org/repo/m2-snapshot-repository/ in 
ServiceMix 3.2.x, but only if you replace all components with the 
4.0-SNAPSHOT versions (the shared library was changed). You can also 
find a full 3.3-SNAPSHOT in the same repository, which might be more 
convenient for you. 

If you want to send mails and still stick to the released version (the 
latest one is 3.2.2), you can use Camel's camel-mail component inside 
ServiceMix (cfr. http://activemq.apache.org/camel/mail.html).  I would 
recommend you to upgrade to 3.2.2 because that comes with Camel 1.4.0 
inside the component.

Regards,

Gert

stlecho wrote:
> Hi,
>
> On the servicemix-mail documentation page, I read the following: "Note that
> this component is only available in releases >= 3.3.". But I can not find
> any reference to v3.3 on the Download page.
>
> When will v3.3 be available ?
> Is there a way to use servicemix-mail with v3.2.1 ? 
> How can I get the same functionality - i.e. sending mails - for v3.2.1 ?
>
> Regards, Stefan Lecho.
>