Hello Rahul,
The module you're looking for has been deprecated and discontinued at the
dawn of the 2.x.y series.
It was only part of the 1.3.x releases AFAIR
http://doc.akka.io/docs/akka-modules/1.3.1/modules/spring.html

As such, it is currently not maintained and will not work with akka 2.x.y.

We instead recommend spinning off actors in code - which you can also hook
up with spring if you really need to,
here's some activator templated which show how to do this:
http://typesafe.com/activator/template/akka-scala-spring
http://typesafe.com/activator/template/akka-java-spring

https://github.com/typesafehub/activator-akka-java-spring/blob/master/src/main/java/sample/SpringActorProducer.java

Happy hakking!

On Thu, Apr 2, 2015 at 3:21 PM, Rahul Singhal <rahulk.singha...@gmail.com>
wrote:

> Hi ,
>
> I am trying to integrate akka with Spring framework using xsd as "
> http://repo.akka.io/akka-1.3.1.xsd"; which seems fine .
>
> And my spring-context.xml looks like ..
>
> <beans xmlns="http://www.springframework.org/schema/beans";
> xmlns:akka="http://repo.akka.io/schema/akka"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
> http://repo.akka.io/akka-1.3.1.xsd";>
>
>
> <akka:untyped-actor id="myActor"
> implementation="com.akka.concurrency.EIEActor" scope="singleton"
> autostart="true">
> </akka:untyped-actor>
>
> </beans>
>
> When i run this app it throws the exception ...
>
> Exception in thread "main"
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
> 10* in XML document from class path resource [spring-context.xml] is
> invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 10;
> columnNumber: 20; cvc-complex-type.2.4.c: The matching wildcard is strict,
> but no declaration can be found for element 'akka:untyped-actor'.*
> at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
> at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
> at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:243)
> at
> org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:127)
> at
> org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:93)
> at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131)
> at
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:522)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:436)
> at
> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
> at
> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
>
>
> Can any one please suggest me how to resolve the same.
>
>
> Thanks ,
> --
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Akka Team
Typesafe - Reactive apps on the JVM
Blog: letitcrash.com
Twitter: @akkateam

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to