camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JaySenSharma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-8676) Camel smtp causes error if email address have character '&'
Date Mon, 20 Apr 2015 12:27:58 GMT
JaySenSharma created CAMEL-8676:
-----------------------------------

             Summary: Camel smtp causes error if email address have character '&'
                 Key: CAMEL-8676
                 URL: https://issues.apache.org/jira/browse/CAMEL-8676
             Project: Camel
          Issue Type: Bug
          Components: camel-mail
    Affects Versions: 2.12.0
         Environment: All
            Reporter: JaySenSharma


- If a camel mail route contains an E-Mail address containing  '&' symbol in it then trhe
camel route fails to start.


Example:
=======
{code}
	<camelContext trace="true" xmlns="http://camel.apache.org/schema/blueprint">
            <route>
	       <from uri="timer://foo?delay=2s&amp;repeatCount=1"/>
	       <to uri="smtp://test.mail.com:25?To=user&amp;123@gmail.com&amp;From=jsenshar@gmail.com"
/>

               <!--  Sending mail using smtp  when the  email address contains  '&'
character like  user&123@gmail.com  Caues issue-->
            </route>
	</camelContext>
{code}

- Where as, As per the http://en.wikipedia.org/wiki/Email_address
   AND  http://tools.ietf.org/html/rfc5322#section-3.2.3
     - The local-part of the email address may use any of these ASCII characters RFC 5322
Section 3.2.3 


- The following error is received during camel route deployment:
{code}
17:56:31,791 | INFO  | l Console Thread | BlueprintCamelContext            | 143 - org.apache.camel.camel-core
- 2.12.0.redhat-610379 | Apache Camel 2.12.0.redhat-610379 (CamelContext: camel-9) is starting
17:56:31,792 | INFO  | l Console Thread | BlueprintCamelContext            | 143 - org.apache.camel.camel-core
- 2.12.0.redhat-610379 | Tracing is enabled on CamelContext: camel-9
17:56:31,792 | INFO  | l Console Thread | ManagedManagementStrategy        | 143 - org.apache.camel.camel-core
- 2.12.0.redhat-610379 | JMX is enabled
17:56:31,803 | INFO  | l Console Thread | BlueprintCamelContext            | 143 - org.apache.camel.camel-core
- 2.12.0.redhat-610379 | Apache Camel 2.12.0.redhat-610379 (CamelContext: camel-9) is shutting
down
17:56:31,804 | INFO  | l Console Thread | BlueprintCamelContext            | 143 - org.apache.camel.camel-core
- 2.12.0.redhat-610379 | Apache Camel 2.12.0.redhat-610379 (CamelContext: camel-9) uptime
0.013 seconds
17:56:31,804 | INFO  | l Console Thread | BlueprintCamelContext            | 143 - org.apache.camel.camel-core
- 2.12.0.redhat-610379 | Apache Camel 2.12.0.redhat-610379 (CamelContext: camel-9) is shutdown
in 0.001 seconds
17:56:31,804 | ERROR | l Console Thread | BlueprintCamelContext            | 151 - org.apache.camel.camel-blueprint
- 2.12.0.redhat-610379 | Error occurred during starting Camel: CamelContext(camel-9) due Failed
to create route route9 at: >>> To[smtp://test.mail.com:25?To=user&123@gmail.com&From=jsenshar@gmail.com]
<<< in route: Route(route9)[[From[timer://foo?delay=2s&repeatCount=1]] ->
... because of Failed to resolve endpoint: smtp://test.mail.com:25?123%40gmail.com=&From=jsenshar%40gmail.com&To=user
due to: Failed to resolve endpoint: smtp://test.mail.com:25?123%40gmail.com=&From=jsenshar%40gmail.com&To=user
due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the
parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{123@gmail.com=}]
org.apache.camel.FailedToCreateRouteException: Failed to create route route9 at: >>>
To[smtp://test.mail.com:25?To=user&123@gmail.com&From=jsenshar@gmail.com] <<<
in route: Route(route9)[[From[timer://foo?delay=2s&repeatCount=1]] -> ... because of
Failed to resolve endpoint: smtp://test.mail.com:25?123%40gmail.com=&From=jsenshar%40gmail.com&To=user
due to: Failed to resolve endpoint: smtp://test.mail.com:25?123%40gmail.com=&From=jsenshar%40gmail.com&To=user
due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the
parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{123@gmail.com=}]
	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:912)
	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:177)
	at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:778)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1955)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1705)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1579)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1547)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.blueprint.BlueprintCamelContext.start(BlueprintCamelContext.java:177)
	at org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:209)
	at org.apache.camel.blueprint.BlueprintCamelContext.serviceChanged(BlueprintCamelContext.java:147)
	at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:934)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:795)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:544)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4666)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.Felix.registerService(Felix.java:3674)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:347)
	at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:353)
	at org.apache.camel.blueprint.BlueprintCamelContext.init(BlueprintCamelContext.java:97)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_71]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_71]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_71]
	at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_71]
	at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_71]
	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:676)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:374)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:261)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:270)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:233)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[11:org.apache.aries.util:1.0.1.redhat-610379]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[11:org.apache.aries.util:1.0.1.redhat-610379]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[11:org.apache.aries.util:1.0.1.redhat-610379]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[11:org.apache.aries.util:1.0.1.redhat-610379]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[11:org.apache.aries.util:1.0.1.redhat-610379]
	at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4650)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.Felix$4.run(Felix.java:2123)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.Felix.runInContext(Felix.java:2147)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.Felix.startBundle(Felix.java:2121)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:51)[31:org.apache.karaf.shell.osgi:2.3.0.redhat-610379]
	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.karaf.shell.console.jline.Console.run(Console.java:189)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
	at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:61)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: smtp://test.mail.com:25?123%40gmail.com=&From=jsenshar%40gmail.com&To=user
due to: Failed to resolve endpoint: smtp://test.mail.com:25?123%40gmail.com=&From=jsenshar%40gmail.com&To=user
due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the
parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{123@gmail.com=}]
	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:531)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:71)
	at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:192)
	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:106)
	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:112)
	at org.apache.camel.model.SendDefinition.resolveEndpoint(SendDefinition.java:61)
	at org.apache.camel.model.SendDefinition.createProcessor(SendDefinition.java:55)
	at org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:500)
	at org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:213)
	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:909)
	... 63 more
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: smtp://test.mail.com:25?123%40gmail.com=&From=jsenshar%40gmail.com&To=user
due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the
parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{123@gmail.com=}]
	at org.apache.camel.impl.DefaultComponent.validateParameters(DefaultComponent.java:192)
	at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:137)
	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:511)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	... 72 more
17:56:31,814 | INFO  | l Console Thread | BlueprintCamelContext            | 143 - org.apache.camel.camel-core
- 2.12.0.redhat-610379 | Apache Camel 2.12.0.redhat-610379 (CamelContext: camel-9) is starting
17:56:31,814 | INFO  | l Console Thread | BlueprintCamelContext            | 143 - org.apache.camel.camel-core
- 2.12.0.redhat-610379 | Tracing is enabled on CamelContext: camel-9
17:56:31,814 | INFO  | l Console Thread | ManagedManagementStrategy        | 143 - org.apache.camel.camel-core
- 2.12.0.redhat-610379 | JMX is enabled
17:56:31,829 | ERROR | l Console Thread | BlueprintCamelContext            | 151 - org.apache.camel.camel-blueprint
- 2.12.0.redhat-610379 | Error occurred during starting Camel: CamelContext(camel-9) due Failed
to create route route9 at: >>> To[smtp://test.mail.com:25?To=user&123@gmail.com&From=jsenshar@gmail.com]
<<< in route: Route(route9)[[From[timer://foo?delay=2s&repeatCount=1]] ->
... because of Failed to resolve endpoint: smtp://test.mail.com:25?123%40gmail.com=&From=jsenshar%40gmail.com&To=user
due to: Failed to resolve endpoint: smtp://test.mail.com:25?123%40gmail.com=&From=jsenshar%40gmail.com&To=user
due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the
parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{123@gmail.com=}]
org.apache.camel.FailedToCreateRouteException: Failed to create route route9 at: >>>
To[smtp://test.mail.com:25?To=user&123@gmail.com&From=jsenshar@gmail.com] <<<
in route: Route(route9)[[From[timer://foo?delay=2s&repeatCount=1]] -> ... because of
Failed to resolve endpoint: smtp://test.mail.com:25?123%40gmail.com=&From=jsenshar%40gmail.com&To=user
due to: Failed to resolve endpoint: smtp://test.mail.com:25?123%40gmail.com=&From=jsenshar%40gmail.com&To=user
due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the
parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{123@gmail.com=}]
	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:912)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:177)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:778)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1955)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1705)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1579)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1547)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.blueprint.BlueprintCamelContext.start(BlueprintCamelContext.java:177)[151:org.apache.camel.camel-blueprint:2.12.0.redhat-610379]
	at org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:209)[151:org.apache.camel.camel-blueprint:2.12.0.redhat-610379]
	at org.apache.camel.blueprint.BlueprintCamelContext.serviceChanged(BlueprintCamelContext.java:147)[151:org.apache.camel.camel-blueprint:2.12.0.redhat-610379]
	at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:934)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:795)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:544)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4666)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.Felix.registerService(Felix.java:3674)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:347)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.registerService(BlueprintContainerImpl.java:448)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:383)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:261)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:270)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:233)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[11:org.apache.aries.util:1.0.1.redhat-610379]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[11:org.apache.aries.util:1.0.1.redhat-610379]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[11:org.apache.aries.util:1.0.1.redhat-610379]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[11:org.apache.aries.util:1.0.1.redhat-610379]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[11:org.apache.aries.util:1.0.1.redhat-610379]
	at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4650)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.Felix$4.run(Felix.java:2123)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.Felix.runInContext(Felix.java:2147)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.Felix.startBundle(Felix.java:2121)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:51)[31:org.apache.karaf.shell.osgi:2.3.0.redhat-610379]
	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.karaf.shell.console.jline.Console.run(Console.java:189)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
	at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:61)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: smtp://test.mail.com:25?123%40gmail.com=&From=jsenshar%40gmail.com&To=user
due to: Failed to resolve endpoint: smtp://test.mail.com:25?123%40gmail.com=&From=jsenshar%40gmail.com&To=user
due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the
parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{123@gmail.com=}]
	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:531)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:71)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:192)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:106)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:112)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.model.SendDefinition.resolveEndpoint(SendDefinition.java:61)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.model.SendDefinition.createProcessor(SendDefinition.java:55)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:500)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:213)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:909)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	... 47 more
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: smtp://test.mail.com:25?123%40gmail.com=&From=jsenshar%40gmail.com&To=user
due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the
parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{123@gmail.com=}]
	at org.apache.camel.impl.DefaultComponent.validateParameters(DefaultComponent.java:192)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:137)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:511)[143:org.apache.camel.camel-core:2.12.0.redhat-610379]
	... 56 more
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message