You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Mani Govindarajulu (JIRA)" <se...@james.apache.org> on 2010/05/21 23:25:16 UTC

[jira] Created: (JAMES-1007) Connecting Apache Active MQ from James server through Matcher

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-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Resolved: (JAMES-1007) Connecting Apache Active MQ from James server through Matcher

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved JAMES-1007.
----------------------------------

    Resolution: Invalid

Please use the mailinglist for questions..

> 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-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org