Connecting Apache Active MQ from James server through Matcher 
--------------------------------------------------------------

                 Key: JAMES-1007
                 URL: https://issues.apache.org/jira/browse/JAMES-1007
             Project: JAMES Server
          Issue Type: Test
          Components: Matchers/Mailets (bundled)
            Reporter: Mani Govindarajulu
            Priority: Critical


Hi ,

  I was trying to connect Apache Active MQ Server if any new mail comes into 
the James POP3 server.
Basically . Matcher/Mailet is working fine .

I could able to connect XMPP server if any new mail comes to specified user 
(matcher and mailet package is working).
But When i try to connect Apache Active MQ , its hanged and also mail is not 
going .it went to error folder.I am wondering no error in the server logs.

Really appreciated give me the solution its very critical.

public void service(Mail mail) throws MessagingException {
                QueueConnection queueConnection = null;
                QueueSession queSession = null;
                MessageProducer producer = null;
                MailAddress sender = mail.getSender();
                ActiveMQConnectionFactory connectionFactory = null;
                Queue queue;

                System.out.println("User::" + sender.getUser());
                
                System.out.println("Implementing the Active connection 
factory");

                try{
                        System.out.println("Active connection 
establishing...++++.");
                 connectionFactory = new ActiveMQConnectionFactory(
                                "tcp://localhost:61616");                       
                     --------------------------------------IT GOT STRUCK OVER 
HERE..
                 System.out.println("Its established..");

                }catch(Exception e){
                        System.out.println("Exception" + e.getMessage());
                }



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to