Author |
Message
|
smdavies99 |
Posted: Thu Oct 10, 2013 11:06 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
The V7.0.0.6 seems to have the EmailInput Node. Why not give it a try?
That alone could be enough justification to upgrade to that version? At least you get a fully supported node rather than one with iffy support _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
sunny7413 |
Posted: Fri Oct 11, 2013 12:03 am Post subject: |
|
|
Apprentice
Joined: 02 Oct 2013 Posts: 29
|
Here the node doesn't meet our requirement so we are using the java code tor retrieve the mail with attatchments |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Oct 11, 2013 12:59 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
sunny7413 wrote: |
Here the node doesn't meet our requirement so we are using the java code tor retrieve the mail with attatchments |
What are those requirements that the node does not meet? It would help others avoid having to do the same investigations as you have already done. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
sunny7413 |
Posted: Fri Oct 11, 2013 1:09 am Post subject: |
|
|
Apprentice
Joined: 02 Oct 2013 Posts: 29
|
Here in our project there is a scheduler flow that generates messages which contains the the login credentials for the mail along with the email server parameters such as host,protocol,port at scheduled intervals to retrieve mail with attatchments |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Oct 11, 2013 6:57 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
sunny7413 wrote: |
Here in our project there is a scheduler flow that generates messages which contains the the login credentials for the mail along with the email server parameters such as host,protocol,port at scheduled intervals to retrieve mail with attatchments |
So you're passing user credentials across the network?
Well done.
Have you considered doing the right thing, and redesigning the entire process from scratch? |
|
Back to top |
|
 |
sunny7413 |
Posted: Fri Oct 18, 2013 3:27 am Post subject: |
|
|
Apprentice
Joined: 02 Oct 2013 Posts: 29
|
Yes we are passing the credentials across a network as node doesnt meet our requirement.
Quote: |
Hi,
I got it working. All thanks to the author of the code, Wang Chao.
Quote:
It's a known issue. The JAF jar files are included in WMB7's new JRE 1.6.x(http://www.roseindia.net/javamail/Introduction-to-Java-Mail-API.shtml). Therefore the JAF and JavaMail jar files are in different class loader. Placing both mail.jar and activation.jar to the jre/lib/ext directory should be able to resolve the issue. Let me know if the problem persists.
just put both the .jar file in the MQSI \7.0\jre16\lib\ext folder.
Thanks all for the help. =)
Cheers. |
as quoted by angka is there any document kind of thing which specified the need for placing both activation.jar and mail.jar in the broker jre libraries .Thank you. |
|
Back to top |
|
 |
|