james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Maurer (JIRA)" <server-...@james.apache.org>
Subject [jira] Resolved: (JAMES-1007) Connecting Apache Active MQ from James server through Matcher
Date Tue, 22 Jun 2010 14:50:58 GMT

     [ 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


Mime
View raw message